diff --git a/test/format-test.cc b/test/format-test.cc index 8c1c305f..4ec7c838 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -101,7 +101,7 @@ template void check_isfinite() { TEST(float_test, isfinite) { check_isfinite(); -#ifdef __SIZEOF_FLOAT128__ +#if FMT_USE_FLOAT128 check_isfinite(); #endif } @@ -122,7 +122,7 @@ template void check_isnan() { TEST(float_test, isnan) { check_isnan(); -#ifdef __SIZEOF_FLOAT128__ +#if FMT_USE_FLOAT128 check_isnan(); #endif }