diff options
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Headers/float.h')
-rw-r--r-- | contrib/llvm/tools/clang/lib/Headers/float.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/llvm/tools/clang/lib/Headers/float.h b/contrib/llvm/tools/clang/lib/Headers/float.h index b7cb73a..65b517d 100644 --- a/contrib/llvm/tools/clang/lib/Headers/float.h +++ b/contrib/llvm/tools/clang/lib/Headers/float.h @@ -64,6 +64,11 @@ # undef FLT_MIN # undef DBL_MIN # undef LDBL_MIN +# if __STDC_VERSION__ >= 201112L || !defined(__STRICT_ANSI__) +# undef FLT_TRUE_MIN +# undef DBL_TRUE_MIN +# undef LDBL_TRUE_MIN +# endif #endif /* Characteristics of floating point types, C99 5.2.4.2.2 */ @@ -110,4 +115,10 @@ #define DBL_MIN __DBL_MIN__ #define LDBL_MIN __LDBL_MIN__ +#if __STDC_VERSION__ >= 201112L || !defined(__STRICT_ANSI__) +# define FLT_TRUE_MIN __FLT_DENORM_MIN__ +# define DBL_TRUE_MIN __DBL_DENORM_MIN__ +# define LDBL_TRUE_MIN __LDBL_DENORM_MIN__ +#endif + #endif /* __FLOAT_H */ |