mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-22 06:02:04 +02:00
Use __MINGW64__ instead of _WIN64
This commit is contained in:
parent
a388192bcd
commit
ef546816d6
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ mffi_value miniffi_call_intern(MINIFFI_FUNC target, MiniFFIFuncArgs *p, size_t n
|
||||||
}
|
}
|
||||||
|
|
||||||
#define INTEL_ASM ".intel_syntax noprefix\n"
|
#define INTEL_ASM ".intel_syntax noprefix\n"
|
||||||
#ifdef _WIN32
|
#ifndef __MINGW64__
|
||||||
mffi_value call_asm(MINIFFI_FUNC target, MINIFFIFuncArgs *p, size_t nparams) {
|
mffi_value call_asm(MINIFFI_FUNC target, MINIFFIFuncArgs *p, size_t nparams) {
|
||||||
mffi_value ret;
|
mffi_value ret;
|
||||||
void *old_esp = 0;
|
void *old_esp = 0;
|
||||||
|
|
|
@ -13,7 +13,7 @@ extern "C" {
|
||||||
mffi_value, mffi_value);
|
mffi_value, mffi_value);
|
||||||
#else // Windows
|
#else // Windows
|
||||||
#define MINIFFI_MAX_ARGS 32l
|
#define MINIFFI_MAX_ARGS 32l
|
||||||
#ifdef _WIN64
|
#ifdef __MINGW64__
|
||||||
typedef uint64_t mffi_value;
|
typedef uint64_t mffi_value;
|
||||||
#else
|
#else
|
||||||
typedef uint32_t mffi_value;
|
typedef uint32_t mffi_value;
|
||||||
|
|
Loading…
Add table
Reference in a new issue