From 951d3684ab3c308fd4ea5f1f17b8effeff8e372e Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 11 Oct 2021 09:37:14 +0200 Subject: [PATCH] Fix eel's 64-bit detection when MinGW is the compiler --- source/modules/eel2/source/WDL/eel2/nseel-cfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/modules/eel2/source/WDL/eel2/nseel-cfunc.c b/source/modules/eel2/source/WDL/eel2/nseel-cfunc.c index b9e5c654d..dfedc024e 100644 --- a/source/modules/eel2/source/WDL/eel2/nseel-cfunc.c +++ b/source/modules/eel2/source/WDL/eel2/nseel-cfunc.c @@ -160,7 +160,7 @@ EEL_F NSEEL_CGEN_CALL nseel_int_rand(EEL_F f) } } #endif - #elif !defined(__LP64__) + #elif !(defined(_WIN64) || defined(__LP64__)) #define FUNCTION_MARKER "\n.byte 0x89,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90\n" #include "asm-nseel-x86-gcc.c" void eel_setfp_round()