diff options
Diffstat (limited to 'ws_symbol_export.h')
-rw-r--r-- | ws_symbol_export.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ws_symbol_export.h b/ws_symbol_export.h index fc257ce8e3..ac9b973053 100644 --- a/ws_symbol_export.h +++ b/ws_symbol_export.h @@ -40,14 +40,17 @@ #define WS_DLL_PUBLIC #endif /* __GNUC__ */ #endif /* WS_BUILD_DLL */ + #define WS_DLL_PUBLIC_NOEXTERN WS_DLL_PUBLIC #define WS_DLL_LOCAL #else #if __GNUC__ >= 4 -#define WS_DLL_PUBLIC __attribute__ ((visibility ("default"))) +#define WS_DLL_PUBLIC __attribute__ ((visibility ("default"))) extern +#define WS_DLL_PUBLIC_NOEXTERN __attribute__ ((visibility ("default"))) #define WS_DLL_LOCAL __attribute__ ((visibility ("hidden"))) #else /* ! __GNUC__ >= 4 */ #define WS_DLL_PUBLIC - #define WS_DLL_LOCAL + #define WS_DLL_PUBLIC_NOEXTERN + #define WS_DLL_LOCAL extern #endif /* __GNUC__ >= 4 */ #endif |