Added more conditionals around #define's of UTF8PROC_DLLEXPORT

master
Nathan Woods 2016-12-31 20:27:29 -05:00
parent 123ccb1790
commit d863b6e90b
1 changed files with 4 additions and 0 deletions

View File

@ -131,9 +131,13 @@ typedef bool utf8proc_bool;
# endif
# endif
#elif __GNUC__ >= 4
# ifndef UTF8PROC_DLLEXPORT
# define UTF8PROC_DLLEXPORT __attribute__ ((visibility("default")))
# endif
#else
# ifndef UTF8PROC_DLLEXPORT
# define UTF8PROC_DLLEXPORT
# endif
#endif
#ifdef __cplusplus