[Python-checkins] r60966 - python/branches/libffi3-branch/Modules/_ctypes/libffi/src/x86/ffi.c
thomas.heller
python-checkins at python.org
Fri Feb 22 19:39:08 CET 2008
Author: thomas.heller
Date: Fri Feb 22 19:39:08 2008
New Revision: 60966
Modified:
python/branches/libffi3-branch/Modules/_ctypes/libffi/src/x86/ffi.c
Log:
Other changes from libffi 3.0.2.
Modified: python/branches/libffi3-branch/Modules/_ctypes/libffi/src/x86/ffi.c
==============================================================================
--- python/branches/libffi3-branch/Modules/_ctypes/libffi/src/x86/ffi.c (original)
+++ python/branches/libffi3-branch/Modules/_ctypes/libffi/src/x86/ffi.c Fri Feb 22 19:39:08 2008
@@ -121,7 +121,7 @@
switch (cif->rtype->type)
{
case FFI_TYPE_VOID:
-#if !defined(X86_WIN32) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
+#ifdef X86
case FFI_TYPE_STRUCT:
#endif
#if defined(X86) || defined(X86_DARWIN)
@@ -142,7 +142,7 @@
cif->flags = FFI_TYPE_SINT64;
break;
-#if defined(X86_WIN32) || defined(__OpenBSD__) || defined(__FreeBSD__)
+#ifndef X86
case FFI_TYPE_STRUCT:
if (cif->rtype->size == 1)
{
More information about the Python-checkins
mailing list