diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-02 14:57:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-02 14:57:31 -0600 |
commit | bbc80561c4a43b82c87c641483f8dc2aa507afac (patch) | |
tree | 9a7c30f483ced9afe3def6f22e9ad37d0d023825 | |
parent | af02f76733bc43fed3ea99bc5b841615cf9bbd8f (diff) | |
download | tqscintilla-bbc80561c4a43b82c87c641483f8dc2aa507afac.tar.gz tqscintilla-bbc80561c4a43b82c87c641483f8dc2aa507afac.zip |
Fix symbol visibility on gcc
-rw-r--r-- | qt/qextscintillaglobal.h | 6 |
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) |