diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-08-18 08:27:12 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-08-18 08:27:12 +0000 |
commit | 8ad8b454b4916f3cbee9af77a1095ffbf2bc0896 (patch) | |
tree | 10fcc61fc9faa64dcff77a8edde0d6aea60914a2 /test/std/depr/depr.c.headers/float_h.pass.cpp | |
parent | 4504f4f22a7d118de108a06e3417fac15af31ff9 (diff) |
Notes
Diffstat (limited to 'test/std/depr/depr.c.headers/float_h.pass.cpp')
-rw-r--r-- | test/std/depr/depr.c.headers/float_h.pass.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/std/depr/depr.c.headers/float_h.pass.cpp b/test/std/depr/depr.c.headers/float_h.pass.cpp index 3001c215cd19..84e89c4dbb84 100644 --- a/test/std/depr/depr.c.headers/float_h.pass.cpp +++ b/test/std/depr/depr.c.headers/float_h.pass.cpp @@ -11,6 +11,8 @@ #include <float.h> +#include "test_macros.h" + #ifndef FLT_ROUNDS #error FLT_ROUNDS not defined #endif @@ -23,7 +25,7 @@ #error FLT_RADIX not defined #endif -#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES) +#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES) && 0 #ifndef FLT_HAS_SUBNORM #error FLT_HAS_SUBNORM not defined #endif @@ -53,7 +55,7 @@ #error DECIMAL_DIG not defined #endif -#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES) +#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES) && 0 #ifndef FLT_DECIMAL_DIG #error FLT_DECIMAL_DIG not defined #endif @@ -163,7 +165,7 @@ #error LDBL_MIN not defined #endif -#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES) +#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES) && 0 #ifndef FLT_TRUE_MIN #error FLT_TRUE_MIN not defined #endif |