diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-11-16 21:40:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-11-16 21:40:42 +0000 |
commit | 0e029166ba5f894893c06fba315e1a7340eef156 (patch) | |
tree | 1a70bcaf9386742f0d6063a55b0910e9cb55c11e /ws_symbol_export.h | |
parent | 623caeeaa0038880925fa12d029d42d774c6ac8e (diff) | |
download | wireshark-0e029166ba5f894893c06fba315e1a7340eef156.tar.gz wireshark-0e029166ba5f894893c06fba315e1a7340eef156.tar.bz2 wireshark-0e029166ba5f894893c06fba315e1a7340eef156.zip |
OK, does it matter in which order "extern" and "declspec" appear?
svn path=/trunk/; revision=53373
Diffstat (limited to 'ws_symbol_export.h')
-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 */ |