summaryrefslogtreecommitdiffstats
path: root/qt/qextscintillaglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt/qextscintillaglobal.h')
-rw-r--r--qt/qextscintillaglobal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt/qextscintillaglobal.h b/qt/qextscintillaglobal.h
index aebd822..cd0fffe 100644
--- a/qt/qextscintillaglobal.h
+++ b/qt/qextscintillaglobal.h
@@ -46,8 +46,10 @@
#else
-#if __GNUC__ >= 4
+#if defined(__KDE_HAVE_GCC_VISIBILITY)
#define TQEXTSCINTILLA_EXPORT __attribute__ ((visibility("default")))
+#else
+#define TQEXTSCINTILLA_EXPORT
#endif
#endif