Use standard __declspec keyword instead of _declspec.

Bug #202826 r=wtc
This commit is contained in:
seawood%netscape.com 2003-06-25 14:49:44 +00:00
parent a1b1e71fd8
commit ae7736e49e

View File

@ -79,20 +79,15 @@
***********************************************************************/
#if defined(WIN32)
#if defined(__GNUC__)
#undef _declspec
#define _declspec(x) __declspec(x)
#endif
#define PR_EXPORT(__type) extern __declspec(dllexport) __type
#define PR_EXPORT_DATA(__type) extern __declspec(dllexport) __type
#define PR_IMPORT(__type) __declspec(dllimport) __type
#define PR_IMPORT_DATA(__type) __declspec(dllimport) __type
#define PR_EXPORT(__type) extern _declspec(dllexport) __type
#define PR_EXPORT_DATA(__type) extern _declspec(dllexport) __type
#define PR_IMPORT(__type) _declspec(dllimport) __type
#define PR_IMPORT_DATA(__type) _declspec(dllimport) __type
#define PR_EXTERN(__type) extern _declspec(dllexport) __type
#define PR_IMPLEMENT(__type) _declspec(dllexport) __type
#define PR_EXTERN_DATA(__type) extern _declspec(dllexport) __type
#define PR_IMPLEMENT_DATA(__type) _declspec(dllexport) __type
#define PR_EXTERN(__type) extern __declspec(dllexport) __type
#define PR_IMPLEMENT(__type) __declspec(dllexport) __type
#define PR_EXTERN_DATA(__type) extern __declspec(dllexport) __type
#define PR_IMPLEMENT_DATA(__type) __declspec(dllexport) __type
#define PR_CALLBACK
#define PR_CALLBACK_DECL