Skip to content

Commit

Permalink
Use BOOST_GCC instead of BOOST_GCC_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Nov 30, 2023
1 parent a9f1407 commit 6c95750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/core/bit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6c95750

Please sign in to comment.