diff --git a/libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp index 1069a679263fb..2b7edcadc2176 100644 --- a/libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp @@ -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 diff --git a/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp b/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp index 6ddd8c60834b0..99fe6a37243c5 100644 --- a/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp @@ -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 diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h index 6fe1c56a5588e..00873607fb11c 100644 --- a/libcxx/test/support/test_macros.h +++ b/libcxx/test/support/test_macros.h @@ -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__)