summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2022-09-18 08:21:34 -0400
committerAnthony Green <green@moxielogic.com>2022-09-18 08:22:17 -0400
commit735e7be4fb2a0401a9ca66cc64004b8b3418feb3 (patch)
tree05142dd9c303d4e1626bee97a1ecc305c67cacd2 /src
parentee22ecbd11f52f8de1adbb2a6561aee2125a576a (diff)
downloadlibffi-735e7be4fb2a0401a9ca66cc64004b8b3418feb3.tar.gz
X86 is never defined.
Diffstat (limited to 'src')
-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)