Merge pull request #550 from boostorg/issue503

Make float128 support detection more robust.
This commit is contained in:
jzmaddock
2026-07-12 13:52:15 +01:00
committed by GitHub
+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