summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/compat.h b/compat/compat.h
index 8c307b14..0e488752 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -25,7 +25,7 @@
# elif defined(_WIN32)
# define COMPAT_EXPORT __declspec(dllimport)
# else
-# define COMPAT_EXPORT
+# define COMPAT_EXPORT __attribute__ ((visibility ("default")))
# endif
#else
# define COMPAT_EXPORT