Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef BOOST_PREDEF_OS_MACOS_H
00010 #define BOOST_PREDEF_OS_MACOS_H
00011
00012
00013
00014
00015
00016
00017 #include <boost/predef/os/ios.h>
00018
00019 #include <boost/predef/version_number.h>
00020 #include <boost/predef/make.h>
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 #define BOOST_OS_MACOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
00041
00042 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
00043 defined(macintosh) || defined(Macintosh) || \
00044 (defined(__APPLE__) && defined(__MACH__)) \
00045 )
00046 # undef BOOST_OS_MACOS
00047 # if !defined(BOOST_OS_MACOS) && defined(__APPLE__) && defined(__MACH__)
00048 # define BOOST_OS_MACOS BOOST_VERSION_NUMBER(10,0,0)
00049 # endif
00050 # if !defined(BOOST_OS_MACOS)
00051 # define BOOST_OS_MACOS BOOST_VERSION_NUMBER(9,0,0)
00052 # endif
00053 #endif
00054
00055 #if BOOST_OS_MACOS
00056 # define BOOST_OS_MACOS_AVAILABLE
00057 # include <boost/predef/detail/os_detected.h>
00058 #endif
00059
00060 #define BOOST_OS_MACOS_NAME "Mac OS"
00061
00062 #endif
00063
00064 #include <boost/predef/detail/test.h>
00065 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_MACOS,BOOST_OS_MACOS_NAME)