From ea51416fd6c2032f15f48cf114469211ea79ca2e Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 22 Nov 2004 06:54:05 +0000 Subject: [PATCH] fix declspec some more --- dtool/Config.Win32.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dtool/Config.Win32.pp b/dtool/Config.Win32.pp index 7b93a40be6..1082cecb36 100644 --- a/dtool/Config.Win32.pp +++ b/dtool/Config.Win32.pp @@ -7,7 +7,8 @@ // // What additional flags should we pass to interrogate? -#define SYSTEM_IGATE_FLAGS -longlong __int64 -D_X86_ -DWIN32_VC -D"__declspec(param)=" -D_near -D_far -D__near -D__far -D_WIN32 -D__stdcall +// NSPR versions prior to 4.4 used _declspec instead of __declspec. +#define SYSTEM_IGATE_FLAGS -longlong __int64 -D_X86_ -DWIN32_VC -D"_declspec(param)=" -D"__declspec(param)=" -D_near -D_far -D__near -D__far -D_WIN32 -D__stdcall // Is the platform big-endian (like an SGI workstation) or // little-endian (like a PC)? Define this to the empty string to