diff options
-rw-r--r-- | ws_symbol_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ws_symbol_export.h b/ws_symbol_export.h index ebf9e7d935..be10c93ab0 100644 --- a/ws_symbol_export.h +++ b/ws_symbol_export.h @@ -141,6 +141,10 @@ * * Either can be used for exported *function* declarations and definitions. */ +#if defined _WIN32 || defined __CYGWIN__ +#define WS_DLL_PUBLIC extern WS_DLL_PUBLIC_DEF +#else #define WS_DLL_PUBLIC WS_DLL_PUBLIC_DEF extern +#endif #endif /* SYMBOL_EXPORT_H */ |