[Python-checkins] r76714 - in python/branches/release31-maint: Include/pymacconfig.h

ronald.oussoren python-checkins at python.org
Tue Dec 8 17:36:47 CET 2009


Author: ronald.oussoren
Date: Tue Dec  8 17:36:47 2009
New Revision: 76714

Log:
Merged revisions 76713 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76713 | ronald.oussoren | 2009-12-08 17:35:28 +0100 (Tue, 08 Dec 2009) | 11 lines
  
  Merged revisions 76712 via svnmerge from 
  svn+ssh://pythondev@svn.python.org/python/trunk
  
  ........
    r76712 | ronald.oussoren | 2009-12-08 17:32:52 +0100 (Tue, 08 Dec 2009) | 4 lines
    
    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.
  ........
................


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Include/pymacconfig.h

Modified: python/branches/release31-maint/Include/pymacconfig.h
==============================================================================
--- python/branches/release31-maint/Include/pymacconfig.h	(original)
+++ python/branches/release31-maint/Include/pymacconfig.h	Tue Dec  8 17:36:47 2009
@@ -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


More information about the Python-checkins mailing list