From d863b6e90ba77608c20af9d9698f9188ee69fe8f Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Sat, 31 Dec 2016 20:27:29 -0500 Subject: Added more conditionals around #define's of UTF8PROC_DLLEXPORT --- 3rdparty/utf8proc/utf8proc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to '3rdparty') diff --git a/3rdparty/utf8proc/utf8proc.h b/3rdparty/utf8proc/utf8proc.h index f95fbe803ac..371d39fd8b7 100644 --- a/3rdparty/utf8proc/utf8proc.h +++ b/3rdparty/utf8proc/utf8proc.h @@ -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 -- cgit v1.2.3-70-g09d2