From 3725f01a34d1731f895504919c8e52161ba89813 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Wed, 11 Jun 2025 15:22:07 -0400 Subject: [PATCH] Fix config -Wundef warning --- include/boost/math/tools/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/math/tools/config.hpp b/include/boost/math/tools/config.hpp index 5edf98d75..964a2bf0b 100644 --- a/include/boost/math/tools/config.hpp +++ b/include/boost/math/tools/config.hpp @@ -200,7 +200,7 @@ // C++23 #if __cplusplus > 202002L || (defined(_MSVC_LANG) &&_MSVC_LANG > 202002L) -# if __GNUC__ >= 13 +# if defined(__GNUC__) && __GNUC__ >= 13 // libstdc++3 only defines to/from_chars for std::float128_t when one of these defines are set // otherwise we're right out of luck... # if defined(_GLIBCXX_LDOUBLE_IS_IEEE_BINARY128) || defined(_GLIBCXX_HAVE_FLOAT128_MATH)