summaryrefslogtreecommitdiffstats
path: root/qt
diff options
context:
space:
mode:
Diffstat (limited to 'qt')
-rw-r--r--qt/qextscintillaglobal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt/qextscintillaglobal.h b/qt/qextscintillaglobal.h
index 38335f0..aebd822 100644
--- a/qt/qextscintillaglobal.h
+++ b/qt/qextscintillaglobal.h
@@ -44,6 +44,12 @@
#define TQEXTSCINTILLA_EXPORT __declspec(dllexport)
#endif
+#else
+
+#if __GNUC__ >= 4
+#define TQEXTSCINTILLA_EXPORT __attribute__ ((visibility("default")))
+#endif
+
#endif
#if !defined(TQEXTSCINTILLA_EXPORT)