summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Export.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Export.H b/FL/Fl_Export.H
index 39a3ef627..c239910eb 100644
--- a/FL/Fl_Export.H
+++ b/FL/Fl_Export.H
@@ -29,6 +29,8 @@
# else
# define FL_EXPORT __declspec(dllimport)
# endif /* FL_LIBRARY */
+# elif __GNUC__ >= 4
+# define FL_EXPORT __attribute__ ((visibility ("default")))
# else
# define FL_EXPORT
# endif /* FL_DLL */