summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-10-20 15:40:22 -0400
committerNed Deily <nad@python.org>2016-10-20 15:40:22 -0400
commit82919ec44ff49aa2343ed433705efdc76b24b5c5 (patch)
tree6755fc64dce106c45df4cb353abf468383501cd0
parente20fed918265368c3b925b310a1edc6e0e4579ce (diff)
parentf536af1fcdfaa81350be5a0a043f7230ed5d8049 (diff)
downloadcpython-git-82919ec44ff49aa2343ed433705efdc76b24b5c5.tar.gz
Issue #24381: merge from 3.5
-rw-r--r--Modules/_ctypes/libffi_osx/ffi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ctypes/libffi_osx/ffi.c b/Modules/_ctypes/libffi_osx/ffi.c
index 96826b5c8e..1776b795e2 100644
--- a/Modules/_ctypes/libffi_osx/ffi.c
+++ b/Modules/_ctypes/libffi_osx/ffi.c
@@ -102,7 +102,7 @@ initialize_aggregate(
/* Perform machine independent ffi_cif preparation, then call
machine dependent routine. */
-#if defined(X86_DARWIN)
+#if defined(X86_DARWIN) && !defined __x86_64__
static inline bool
struct_on_stack(
@@ -125,7 +125,7 @@ struct_on_stack(
}
}
-#endif // defined(X86_DARWIN)
+#endif // defined(X86_DARWIN) && !defined __x86_64__
// Arguments' ffi_type->alignment must be nonzero.
ffi_status