diff options
author | Thomas Heller <theller@ctypes.org> | 2006-11-28 20:21:54 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-11-28 20:21:54 (GMT) |
commit | ef583a4992d8d7c635e77eb1a3af2b12f46fed50 (patch) | |
tree | 7d098445b35804665ac41fc2feb35c254f12ebba /Modules | |
parent | 73e7e058f5ef265278d6d184e01f134132d612fd (diff) | |
download | cpython-ef583a4992d8d7c635e77eb1a3af2b12f46fed50.zip cpython-ef583a4992d8d7c635e77eb1a3af2b12f46fed50.tar.gz cpython-ef583a4992d8d7c635e77eb1a3af2b12f46fed50.tar.bz2 |
Fix #1563807: _ctypes built on AIX fails with ld ffi error.
The contents of ffi_darwin.c must be compiled unless __APPLE__ is
defined and __ppc__ is not.
Will backport.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c b/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c index 1595b00..55af70c 100644 --- a/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c +++ b/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c @@ -1,4 +1,4 @@ -#ifdef __ppc__ +#if !(defined(__APPLE__) && !defined(__ppc__)) /* ----------------------------------------------------------------------- ffi.c - Copyright (c) 1998 Geoffrey Keating |