File indexing completed on 2025-06-30 08:31:22
0001 #ifndef BOOST_SYSTEM_DETAIL_CONFIG_HPP_INCLUDED
0002 #define BOOST_SYSTEM_DETAIL_CONFIG_HPP_INCLUDED
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <boost/config.hpp>
0012 #include <boost/config/workaround.hpp>
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #define BOOST_SYSTEM_NOEXCEPT noexcept
0024
0025
0026
0027 #if !defined(BOOST_NO_CXX14_CONSTEXPR)
0028 # define BOOST_SYSTEM_HAS_CONSTEXPR
0029 #endif
0030
0031 #if BOOST_WORKAROUND(BOOST_GCC, < 60000)
0032 # undef BOOST_SYSTEM_HAS_CONSTEXPR
0033 #endif
0034
0035 #if defined(BOOST_SYSTEM_HAS_CONSTEXPR)
0036 # define BOOST_SYSTEM_CONSTEXPR constexpr
0037 #else
0038 # define BOOST_SYSTEM_CONSTEXPR
0039 #endif
0040
0041
0042
0043 #if defined(__clang__)
0044 # define BOOST_SYSTEM_DEPRECATED(msg) __attribute__((deprecated(msg)))
0045 #elif defined(__GNUC__)
0046 # if __GNUC__ * 100 + __GNUC_MINOR__ >= 405
0047 # define BOOST_SYSTEM_DEPRECATED(msg) __attribute__((deprecated(msg)))
0048 # else
0049 # define BOOST_SYSTEM_DEPRECATED(msg) __attribute__((deprecated))
0050 # endif
0051 #elif defined(_MSC_VER)
0052 # define BOOST_SYSTEM_DEPRECATED(msg) __declspec(deprecated(msg))
0053 #elif defined(__sun)
0054 # define BOOST_SYSTEM_DEPRECATED(msg) __attribute__((deprecated(msg)))
0055 #else
0056 # define BOOST_SYSTEM_DEPRECATED(msg)
0057 #endif
0058
0059
0060
0061
0062
0063 #if defined(__clang__) && (__clang_major__ < 7 || (defined(__APPLE__) && __clang_major__ < 11) || (defined(__ANDROID__) && __clang_major__ == 7))
0064 # define BOOST_SYSTEM_CLANG_6
0065 #endif
0066
0067
0068
0069 #if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 50000
0070 # define BOOST_SYSTEM_AVOID_STD_GENERIC_CATEGORY
0071 #endif
0072
0073 #if defined(__CYGWIN__) || defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER == 1800) || (defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 90000)
0074
0075
0076
0077
0078
0079
0080 # define BOOST_SYSTEM_AVOID_STD_SYSTEM_CATEGORY
0081 #endif
0082
0083 #endif