forked from OSchip/llvm-project
[libc++] Re-enable tests for C11 math macros in <float.h> and <cfloat>
Fixes http://llvm.org/PR38572.
This commit is contained in:
parent
bdad24c2cc
commit
a5faf3c849
|
@ -24,7 +24,7 @@
|
|||
#error FLT_RADIX not defined
|
||||
#endif
|
||||
|
||||
#if TEST_STD_VER > 14 && 0
|
||||
#if TEST_STD_VER > 14
|
||||
#ifndef FLT_HAS_SUBNORM
|
||||
#error FLT_HAS_SUBNORM not defined
|
||||
#endif
|
||||
|
@ -54,7 +54,7 @@
|
|||
#error DECIMAL_DIG not defined
|
||||
#endif
|
||||
|
||||
#if TEST_STD_VER > 14 && 0
|
||||
#if TEST_STD_VER > 14
|
||||
#ifndef FLT_DECIMAL_DIG
|
||||
#error FLT_DECIMAL_DIG not defined
|
||||
#endif
|
||||
|
@ -164,7 +164,7 @@
|
|||
#error LDBL_MIN not defined
|
||||
#endif
|
||||
|
||||
#if TEST_STD_VER > 14 && 0
|
||||
#if TEST_STD_VER > 14
|
||||
#ifndef FLT_TRUE_MIN
|
||||
#error FLT_TRUE_MIN not defined
|
||||
#endif
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#error FLT_RADIX not defined
|
||||
#endif
|
||||
|
||||
#if TEST_STD_VER > 14 && 0
|
||||
#if TEST_STD_VER > 14
|
||||
#ifndef FLT_HAS_SUBNORM
|
||||
#error FLT_HAS_SUBNORM not defined
|
||||
#endif
|
||||
|
@ -54,7 +54,7 @@
|
|||
#error DECIMAL_DIG not defined
|
||||
#endif
|
||||
|
||||
#if TEST_STD_VER > 14 && 0
|
||||
#if TEST_STD_VER > 14
|
||||
#ifndef FLT_DECIMAL_DIG
|
||||
#error FLT_DECIMAL_DIG not defined
|
||||
#endif
|
||||
|
@ -164,7 +164,7 @@
|
|||
#error LDBL_MIN not defined
|
||||
#endif
|
||||
|
||||
#if TEST_STD_VER > 14 && 0
|
||||
#if TEST_STD_VER > 14
|
||||
#ifndef FLT_TRUE_MIN
|
||||
#error FLT_TRUE_MIN not defined
|
||||
#endif
|
||||
|
|
|
@ -162,7 +162,6 @@
|
|||
#endif
|
||||
|
||||
// Sniff out to see if the underlying C library has C11 features
|
||||
// Note that at this time (July 2018), MacOS X and iOS do NOT.
|
||||
// This is cribbed from __config; but lives here as well because we can't assume libc++
|
||||
#if __ISO_C_VISIBLE >= 2011 || TEST_STD_VER >= 11
|
||||
# if defined(__FreeBSD__)
|
||||
|
|
Loading…
Reference in New Issue