From 05be7a0764f8fbfbdf9c9750ec54d49fe3d2419f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 10 Jul 2022 08:47:16 -0700 Subject: [PATCH 2/2] Use FMT_USE_FLOAT128 instead of __SIZEOF_FLOAT128__ --- test/format-test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.36.1