aboutsummaryrefslogtreecommitdiff
path: root/Include/pymacconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pymacconfig.h')
-rw-r--r--Include/pymacconfig.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Include/pymacconfig.h b/Include/pymacconfig.h
index a452836e32..50b429c400 100644
--- a/Include/pymacconfig.h
+++ b/Include/pymacconfig.h
@@ -20,8 +20,6 @@
# 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
@@ -76,6 +74,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