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/
This commit is contained in:
parent
e324dc1e9a
commit
b12c226333
|
@ -118,7 +118,7 @@
|
||||||
#ifndef FASTCALL
|
#ifndef FASTCALL
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
#define FASTCALL __attribute__((fastcall))
|
#define FASTCALL __attribute__((fastcall))
|
||||||
#elif defined (__i386__)
|
#elif defined (__i386__) && !defined(__clang__)
|
||||||
#define FASTCALL __attribute__((regparm(3)))
|
#define FASTCALL __attribute__((regparm(3)))
|
||||||
#elif defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
#elif defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||||
#define FASTCALL
|
#define FASTCALL
|
||||||
|
|
Loading…
Reference in New Issue