Use _M_IX86 and _M_X64 to indicate MSVC x86/x64
_WIN32 is defined on ARM MinGW as well, which breaks current assumptions
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
|
||||
#ifdef __amd64__
|
||||
#include "codegen_x86-64.h"
|
||||
#elif defined i386 || defined __i386 || defined __i386__ || defined _X86_ || defined _WIN32
|
||||
#elif defined i386 || defined __i386 || defined __i386__ || defined _X86_ || defined _M_IX86 || defined _M_X64
|
||||
#include "codegen_x86.h"
|
||||
#else
|
||||
#error Dynamic recompiler not implemented on your platform
|
||||
|
||||
Reference in New Issue
Block a user