diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-29 19:54:29 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-29 19:54:29 -0400 |
commit | aa859403886ed4b50da36e7fe101f7431856c004 (patch) | |
tree | 49bbdc1e370ba70ec058a254c6132dfcb4cbbc50 /arch/i386/bits | |
parent | 50da5c264fd84ea2de8cf75bf39ceb81a4eecd71 (diff) | |
download | musl-aa859403886ed4b50da36e7fe101f7431856c004.tar.gz musl-aa859403886ed4b50da36e7fe101f7431856c004.tar.bz2 musl-aa859403886ed4b50da36e7fe101f7431856c004.tar.xz musl-aa859403886ed4b50da36e7fe101f7431856c004.zip |
fix float_t and double_t defs on x86 when -mfpmath=sse -msse2 is used
Diffstat (limited to 'arch/i386/bits')
-rwxr-xr-x | arch/i386/bits/alltypes.h.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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; |