summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Kelman <tony@kelman.net>2014-09-22 13:51:05 -0700
committerTony Kelman <tony@kelman.net>2014-09-22 13:51:05 -0700
commit6b6786598483bdc8f9c1f743bd154137a3820886 (patch)
treed078ee1f1e71f3ef25909dc3f1ab0fe8f9d40654
parenta840e5dae1978f7b9aa3ce7876dd46b158088ce2 (diff)
downloadlibutf8proc-6b6786598483bdc8f9c1f743bd154137a3820886.tar.gz
libutf8proc-6b6786598483bdc8f9c1f743bd154137a3820886.tar.bz2
add DLLEXPORT definition for __GNUC__ >= 4
-rw-r--r--mojibake.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mojibake.h b/mojibake.h
index abebbeb..03069b6 100644
--- a/mojibake.h
+++ b/mojibake.h
@@ -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