123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #ifndef BOOST_MYSQL_DETAIL_CONFIG_HPP
- #define BOOST_MYSQL_DETAIL_CONFIG_HPP
- #include <boost/config.hpp>
- #if defined(__cpp_concepts) && defined(__cpp_lib_concepts)
- #define BOOST_MYSQL_HAS_CONCEPTS
- #endif
- #if BOOST_CXX_VERSION >= 201402L
- #define BOOST_MYSQL_CXX14
- #endif
- #ifdef __cpp_consteval
- #define BOOST_MYSQL_CONSTEVAL consteval
- #else
- #define BOOST_MYSQL_CONSTEVAL constexpr
- #endif
- #if defined(BOOST_MYSQL_SEPARATE_COMPILATION)
- #define BOOST_MYSQL_DECL
- #else
- #define BOOST_MYSQL_HEADER_ONLY
- #define BOOST_MYSQL_DECL inline
- #endif
- #ifdef BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
- #define BOOST_MYSQL_RETURN_TYPE(...) -> __VA_ARGS__
- #else
- #define BOOST_MYSQL_RETURN_TYPE(...)
- #endif
- #if __cpp_lib_chrono >= 201907L
- #define BOOST_MYSQL_HAS_LOCAL_TIME
- #endif
- #endif
|