mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Use standard __declspec keyword instead of _declspec.
Bug #202826 r=wtc
This commit is contained in:
parent
a1b1e71fd8
commit
ae7736e49e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user