From ee10b4be2ec9e1e6a9eb7d50759c6396809e6c54 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 4 Jan 2026 14:19:26 +0200 Subject: [PATCH] Add BOOST_LIBSTDCXX_VERSION_WORKAROUND_GUARD --- include/boost/config/workaround.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/config/workaround.hpp b/include/boost/config/workaround.hpp index 688f9636..95e31955 100644 --- a/include/boost/config/workaround.hpp +++ b/include/boost/config/workaround.hpp @@ -264,6 +264,11 @@ #else #define BOOST_CLANG_VERSION_WORKAROUND_GUARD 0 #endif +#ifndef BOOST_LIBSTDCXX_VERSION +#define BOOST_LIBSTDCXX_VERSION_WORKAROUND_GUARD 1 +#else +#define BOOST_LIBSTDCXX_VERSION_WORKAROUND_GUARD 0 +#endif // Always define to zero, if it's used it'll be defined my MPL: #define BOOST_MPL_CFG_GCC_WORKAROUND_GUARD 0