#ifndef BOOST_HASH2_DETAIL_CONFIG_HPP_INCLUDED #define BOOST_HASH2_DETAIL_CONFIG_HPP_INCLUDED // Copyright 2024 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include // __builtin_is_constant_evaluated #if defined(BOOST_MSVC) && BOOST_MSVC >= 1925 # define BOOST_HASH2_HAS_BUILTIN_IS_CONSTANT_EVALUATED #endif #if defined(__has_builtin) # if __has_builtin(__builtin_is_constant_evaluated) # define BOOST_HASH2_HAS_BUILTIN_IS_CONSTANT_EVALUATED # endif #endif // __builtin_bit_cast #if defined(BOOST_MSVC) && BOOST_MSVC >= 1927 # define BOOST_HASH2_HAS_BUILTIN_BIT_CAST #endif #if defined(__has_builtin) # if __has_builtin(__builtin_bit_cast) # define BOOST_HASH2_HAS_BUILTIN_BIT_CAST # endif #endif #endif // #ifndef BOOST_HASH2_DETAIL_CONFIG_HPP_INCLUDED