Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef BOOST_PREDEF_OS_IOS_H
00010 #define BOOST_PREDEF_OS_IOS_H
00011
00012 #include <boost/predef/version_number.h>
00013 #include <boost/predef/make.h>
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #define BOOST_OS_IOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
00032
00033 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
00034 defined(__APPLE__) && defined(__MACH__) && \
00035 defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) \
00036 )
00037 # undef BOOST_OS_IOS
00038 # define BOOST_OS_IOS (__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__*1000)
00039 #endif
00040
00041 #if BOOST_OS_IOS
00042 # define BOOST_OS_IOS_AVAILABLE
00043 # include <boost/predef/detail/os_detected.h>
00044 #endif
00045
00046 #define BOOST_OS_IOS_NAME "iOS"
00047
00048 #endif
00049
00050 #include <boost/predef/detail/test.h>
00051 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_IOS,BOOST_OS_IOS_NAME)