]> granicus.if.org Git - python/commitdiff
Don't try to use x87 assembly on OS X universal builds.
authorMark Dickinson <dickinsm@gmail.com>
Sat, 25 Apr 2009 18:22:27 +0000 (18:22 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 25 Apr 2009 18:22:27 +0000 (18:22 +0000)
Include/pymacconfig.h

index 3a3428c05a9072ac73faba4a3fe930cbf8163071..a452836e3292c81d119e6236ad309b793a1335d6 100644 (file)
@@ -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__)