types.h: let mingw use regparm(3) calling convention for jit
this, together with the renaming done in the previous commit, fixes the jit from crashing when compiled with mingw for x86.
This commit is contained in:
parent
18f166bc97
commit
9f30151675
|
@ -177,10 +177,7 @@
|
|||
#define FAST_ALIGN DS_ALIGN(4)
|
||||
//---------------------------------------------
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#define DESMUME_FASTCALL __attribute__((fastcall))
|
||||
#define ASMJIT_CALL_CONV kX86FuncConvGccFastCall
|
||||
#elif defined (__i386__) && !defined(__clang__)
|
||||
#if defined (__i386__) && !defined(__clang__)
|
||||
#define DESMUME_FASTCALL __attribute__((regparm(3)))
|
||||
#define ASMJIT_CALL_CONV kX86FuncConvGccRegParm3
|
||||
#elif defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||
|
|
Loading…
Reference in New Issue