Make float128 support detection more robust.

Fixes https://github.com/boostorg/config/issues/503
This commit is contained in:
jzmaddock
2026-07-12 12:00:01 +01:00
parent 2fbd601703
commit 49f8408276
+7 -1
View File
@@ -167,7 +167,13 @@
#include <stddef.h>
#endif
#if defined(_GLIBCXX_USE_FLOAT128) && !defined(__STRICT_ANSI__) && !defined(BOOST_NVCC_CXX03)
# define BOOST_HAS_FLOAT128
#if defined(__has_include)
#if __has_include(<quadmath.h>)
# define BOOST_HAS_FLOAT128
#endif
#else
# define BOOST_HAS_FLOAT128
#endif
#endif
// C++0x features in 4.3.n and later