Browse Source

Fix eel's 64-bit detection when MinGW is the compiler

pull/1490/head
Jean Pierre Cimalando 3 years ago
parent
commit
951d3684ab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/modules/eel2/source/WDL/eel2/nseel-cfunc.c

+ 1
- 1
source/modules/eel2/source/WDL/eel2/nseel-cfunc.c View File

@@ -160,7 +160,7 @@ EEL_F NSEEL_CGEN_CALL nseel_int_rand(EEL_F f)
} }
} }
#endif #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" #define FUNCTION_MARKER "\n.byte 0x89,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90\n"
#include "asm-nseel-x86-gcc.c" #include "asm-nseel-x86-gcc.c"
void eel_setfp_round() void eel_setfp_round()


Loading…
Cancel
Save