From: Rich Felker Date: Sun, 29 Apr 2012 23:54:29 +0000 (-0400) Subject: fix float_t and double_t defs on x86 when -mfpmath=sse -msse2 is used X-Git-Tag: v0.9.0~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aa859403886ed4b50da36e7fe101f7431856c004;p=oweals%2Fmusl.git fix float_t and double_t defs on x86 when -mfpmath=sse -msse2 is used --- diff --git a/arch/i386/bits/alltypes.h.sh b/arch/i386/bits/alltypes.h.sh index 3735d963..10956690 100755 --- a/arch/i386/bits/alltypes.h.sh +++ b/arch/i386/bits/alltypes.h.sh @@ -64,8 +64,13 @@ TYPEDEF uint64_t uint_fast64_t; TYPEDEF long intptr_t; TYPEDEF unsigned long uintptr_t; +#if defined(__FLT_EVAL_METHOD__) && __FLT_EVAL_METHOD__ == 0 +TYPEDEF float float_t; +TYPEDEF double double_t; +#else TYPEDEF long double float_t; TYPEDEF long double double_t; +#endif TYPEDEF long time_t; TYPEDEF int suseconds_t;