summaryrefslogtreecommitdiff
path: root/src/x86/ffi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x86/ffi.c')
-rw-r--r--src/x86/ffi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/x86/ffi.c b/src/x86/ffi.c
index b82d8c0..7ca1340 100644
--- a/src/x86/ffi.c
+++ b/src/x86/ffi.c
@@ -117,8 +117,6 @@ ffi_prep_cif_machdep(ffi_cif *cif)
flags = X86_RET_INT64;
break;
case FFI_TYPE_STRUCT:
-#ifndef X86
- /* ??? This should be a different ABI rather than an ifdef. */
if (cif->rtype->size == 1)
flags = X86_RET_STRUCT_1B;
else if (cif->rtype->size == 2)
@@ -128,7 +126,6 @@ ffi_prep_cif_machdep(ffi_cif *cif)
else if (cif->rtype->size == 8)
flags = X86_RET_INT64;
else
-#endif
{
do_struct:
switch (cabi)