diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/x86/ffi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/x86/ffi.c b/src/x86/ffi.c index 7ca1340..f867c20 100644 --- a/src/x86/ffi.c +++ b/src/x86/ffi.c @@ -117,6 +117,7 @@ ffi_prep_cif_machdep(ffi_cif *cif) flags = X86_RET_INT64; break; case FFI_TYPE_STRUCT: +#ifndef X86 if (cif->rtype->size == 1) flags = X86_RET_STRUCT_1B; else if (cif->rtype->size == 2) @@ -126,6 +127,7 @@ ffi_prep_cif_machdep(ffi_cif *cif) else if (cif->rtype->size == 8) flags = X86_RET_INT64; else +#endif { do_struct: switch (cabi) |