fix float_t and double_t defs on x86 when -mfpmath=sse -msse2 is used

This commit is contained in:
Rich Felker 2012-04-29 19:54:29 -04:00
parent 50da5c264f
commit aa85940388
1 changed files with 5 additions and 0 deletions

View File

@ -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;