From 0e029166ba5f894893c06fba315e1a7340eef156 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 16 Nov 2013 21:40:42 +0000 Subject: OK, does it matter in which order "extern" and "declspec" appear? svn path=/trunk/; revision=53373 --- ws_symbol_export.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ws_symbol_export.h') 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 */ -- cgit v1.2.3