OK, does it matter in which order "extern" and "declspec" appear?

svn path=/trunk/; revision=53373
This commit is contained in:
Guy Harris 2013-11-16 21:40:42 +00:00
parent 623caeeaa0
commit 0e029166ba
1 changed files with 4 additions and 0 deletions

View File

@ -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 */