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