add DLLEXPORT definition for __GNUC__ >= 4
This commit is contained in:
@@ -81,6 +81,8 @@ enum {false, true};
|
|||||||
# else
|
# else
|
||||||
# define DLLEXPORT __declspec(dllimport)
|
# define DLLEXPORT __declspec(dllimport)
|
||||||
# endif
|
# endif
|
||||||
|
#elif __GNUC__ >= 4
|
||||||
|
# define DLLEXPORT __attribute__ ((visibility("default")))
|
||||||
#else
|
#else
|
||||||
# define DLLEXPORT
|
# define DLLEXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user