From 2d3f9841ccf4b26d1217e6d4c9b7a860adc1e0cb Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 14 Jun 2010 12:12:48 +0200 Subject: [PATCH] Bug 569547 - fastcall useless on win64. r=benjamin --- xpcom/base/nscore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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