From 6c95750f372588c91042a8e65a37c34d3f74b871 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 30 Nov 2023 10:33:08 +0200 Subject: [PATCH] Use BOOST_GCC instead of BOOST_GCC_VERSION --- include/boost/core/bit.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/core/bit.hpp b/include/boost/core/bit.hpp index 5d24045..cebc878 100644 --- a/include/boost/core/bit.hpp +++ b/include/boost/core/bit.hpp @@ -56,7 +56,7 @@ # define BOOST_CORE_HAS_BUILTIN_BIT_CAST #endif -#if !defined(BOOST_CORE_HAS_BUILTIN_BSWAP16) && (defined(BOOST_GCC_VERSION) && BOOST_GCC_VERSION >= 40800) +#if !defined(BOOST_CORE_HAS_BUILTIN_BSWAP16) && (defined(BOOST_GCC) && BOOST_GCC >= 40800) # define BOOST_CORE_HAS_BUILTIN_BSWAP16 #endif