[Python-checkins] r71912 - python/branches/py3k/Include/pymacconfig.h

mark.dickinson python-checkins at python.org
Sat Apr 25 20:22:27 CEST 2009


Author: mark.dickinson
Date: Sat Apr 25 20:22:27 2009
New Revision: 71912

Log:
Don't try to use x87 assembly on OS X universal builds.


Modified:
   python/branches/py3k/Include/pymacconfig.h

Modified: python/branches/py3k/Include/pymacconfig.h
==============================================================================
--- python/branches/py3k/Include/pymacconfig.h	(original)
+++ python/branches/py3k/Include/pymacconfig.h	Sat Apr 25 20:22:27 2009
@@ -20,6 +20,9 @@
 # undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754
 # undef DOUBLE_IS_BIG_ENDIAN_IEEE754
 # undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754
+/* we don't ever need to play with the x87 control word on OS X/Intel, so just
+   pretend that we can't, to avoid problems on Intel+PPC builds */
+# undef HAVE_GCC_ASM_FOR_X87
 
 #    undef VA_LIST_IS_ARRAY
 #    if defined(__LP64__) && defined(__x86_64__)


More information about the Python-checkins mailing list