File indexing completed on 2025-01-18 09:48:06
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_PREDEF_OS_MACOS_H
0010 #define BOOST_PREDEF_OS_MACOS_H
0011
0012
0013
0014
0015
0016
0017 #include <boost/predef/os/ios.h>
0018
0019 #include <boost/predef/version_number.h>
0020 #include <boost/predef/make.h>
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041 #define BOOST_OS_MACOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
0042
0043 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
0044 defined(macintosh) || defined(Macintosh) || \
0045 (defined(__APPLE__) && defined(__MACH__)) \
0046 )
0047 # undef BOOST_OS_MACOS
0048 # if !defined(BOOST_OS_MACOS) && defined(__APPLE__) && defined(__MACH__)
0049 # define BOOST_OS_MACOS BOOST_VERSION_NUMBER(10,0,0)
0050 # endif
0051 # if !defined(BOOST_OS_MACOS)
0052 # define BOOST_OS_MACOS BOOST_VERSION_NUMBER(9,0,0)
0053 # endif
0054 #endif
0055
0056 #if BOOST_OS_MACOS
0057 # define BOOST_OS_MACOS_AVAILABLE
0058 # include <boost/predef/detail/os_detected.h>
0059 #endif
0060
0061 #define BOOST_OS_MACOS_NAME "Mac OS"
0062
0063 #endif
0064
0065 #include <boost/predef/detail/test.h>
0066 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_MACOS,BOOST_OS_MACOS_NAME)