projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50da5c2
)
fix float_t and double_t defs on x86 when -mfpmath=sse -msse2 is used
author
Rich Felker
<dalias@aerifal.cx>
Sun, 29 Apr 2012 23:54:29 +0000
(19:54 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 29 Apr 2012 23:54:29 +0000
(19:54 -0400)
arch/i386/bits/alltypes.h.sh
patch
|
blob
|
history
diff --git
a/arch/i386/bits/alltypes.h.sh
b/arch/i386/bits/alltypes.h.sh
index 3735d963dabdd4fa513410aac7b20db9e1ccc49f..109566901cd71c214b3c808b989773441ec3a8ed 100755
(executable)
--- 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;