summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-12-08 16:32:52 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-12-08 16:32:52 (GMT)
commita254302f52ac294bb3832bf7be8e6a2274a19dca (patch)
tree79ff2ed92e1a387d39fb0e62dcbf7317adee29ca
parent187177fc558e2dce1f55ad8bdf7344c61aec6594 (diff)
downloadcpython-a254302f52ac294bb3832bf7be8e6a2274a19dca.zip
cpython-a254302f52ac294bb3832bf7be8e6a2274a19dca.tar.gz
cpython-a254302f52ac294bb3832bf7be8e6a2274a19dca.tar.bz2
Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
an i386 based machine, but should only be active when compiling the x86 part of the universal binary.
-rw-r--r--Include/pymacconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/pymacconfig.h b/Include/pymacconfig.h
index fcfbf58..813a617 100644
--- a/Include/pymacconfig.h
+++ b/Include/pymacconfig.h
@@ -22,6 +22,7 @@
# undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754
# undef DOUBLE_IS_BIG_ENDIAN_IEEE754
# undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754
+# undef HAVE_GCC_ASM_FOR_X87
# undef VA_LIST_IS_ARRAY
# if defined(__LP64__) && defined(__x86_64__)
@@ -79,6 +80,10 @@
#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754
#endif /* __BIG_ENDIAN */
+#ifdef __i386__
+# define HAVE_GCC_ASM_FOR_X87
+#endif
+
/*
* The definition in pyconfig.h is only valid on the OS release
* where configure ran on and not necessarily for all systems where