From b12c2263333a163ad34894ab14ef892c8c9cdcdc Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 5 Apr 2010 13:07:30 +0000 Subject: [PATCH] Does this FASTCALL definition helps? how much? in the mean time just don't enable it for clang since it breaks arm_instruction.cpp compilation with that. clang finally compiles desmume \o/ --- desmume/src/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/types.h b/desmume/src/types.h index 410eebcb2..d2b67197b 100644 --- a/desmume/src/types.h +++ b/desmume/src/types.h @@ -118,7 +118,7 @@ #ifndef FASTCALL #ifdef __MINGW32__ #define FASTCALL __attribute__((fastcall)) -#elif defined (__i386__) +#elif defined (__i386__) && !defined(__clang__) #define FASTCALL __attribute__((regparm(3))) #elif defined(_MSC_VER) || defined(__INTEL_COMPILER) #define FASTCALL