add DLLEXPORT definition for __GNUC__ >= 4
This commit is contained in:
parent
a840e5dae1
commit
6b67865984
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user