From 3768af04ba4cf868c6778c8eb343baa1c200a7dc Mon Sep 17 00:00:00 2001 From: "ronald.oussoren" Date: Tue, 8 Dec 2009 16:32:52 +0000 Subject: [PATCH] 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. git-svn-id: http://svn.python.org/projects/python/trunk@76712 6015fed2-1504-0410-9fe1-9d1591cc4771 --- Include/pymacconfig.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Include/pymacconfig.h b/Include/pymacconfig.h index fcfbf584a4..813a617cab 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 -- 2.11.4.GIT