summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-12-31 20:27:29 -0500
committer Nathan Woods <npwoods@mess.org>2016-12-31 20:27:29 -0500
commitd863b6e90ba77608c20af9d9698f9188ee69fe8f (patch)
tree5146472a78a60e96f27b23b46df8ecd48b5731d8 /3rdparty
parent123ccb1790e859dfa9735db647b5d5185d2bbebd (diff)
Added more conditionals around #define's of UTF8PROC_DLLEXPORT
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/utf8proc/utf8proc.h4
1 files changed, 4 insertions, 0 deletions
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