diff --git a/xpcom/base/nscore.h b/xpcom/base/nscore.h index caab9914999..4c8edd18865 100644 --- a/xpcom/base/nscore.h +++ b/xpcom/base/nscore.h @@ -155,7 +155,7 @@ (__GNUC__ >= 3) && !defined(XP_OS2) #define NS_FASTCALL __attribute__ ((regparm (3), stdcall)) #define NS_CONSTRUCTOR_FASTCALL __attribute__ ((regparm (3), stdcall)) -#elif defined(XP_WIN) +#elif defined(XP_WIN) && !defined(_WIN64) #define NS_FASTCALL __fastcall #define NS_CONSTRUCTOR_FASTCALL #else