Last active
August 29, 2015 13:57
-
-
Save indivisible/9758711 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/x86/ffi.c b/src/x86/ffi.c | |
index a02a8a1..08daf52 100644 | |
--- a/src/x86/ffi.c | |
+++ b/src/x86/ffi.c | |
@@ -317,7 +317,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif) | |
cif->bytes += 4 * sizeof(ffi_arg); | |
#endif | |
-#ifndef X86_WIN32 | |
+#if !(defined(X86_WIN32) || defined(X86_WIN64)) | |
if (cif->abi != FFI_STDCALL && cif->abi != FFI_THISCALL && cif->abi != FFI_FASTCALL) | |
cif->bytes = (cif->bytes + 15) & ~0xF; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment