File indexing completed on 2025-01-18 09:48:06
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_PREDEF_PLAT_IOS_H
0010 #define BOOST_PREDEF_PLAT_IOS_H
0011
0012 #include <boost/predef/os/ios.h> // BOOST_OS_IOS
0013 #include <boost/predef/version_number.h> // BOOST_VERSION_NUMBER_NOT_AVAILABLE
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028 #define BOOST_PLAT_IOS_DEVICE BOOST_VERSION_NUMBER_NOT_AVAILABLE
0029 #define BOOST_PLAT_IOS_SIMULATOR BOOST_VERSION_NUMBER_NOT_AVAILABLE
0030
0031
0032 #if BOOST_OS_IOS
0033 # include <TargetConditionals.h>
0034 # if defined(TARGET_OS_SIMULATOR) && (TARGET_OS_SIMULATOR == 1)
0035 # undef BOOST_PLAT_IOS_SIMULATOR
0036 # define BOOST_PLAT_IOS_SIMULATOR BOOST_VERSION_NUMBER_AVAILABLE
0037 # elif defined(TARGET_IPHONE_SIMULATOR) && (TARGET_IPHONE_SIMULATOR == 1)
0038 # undef BOOST_PLAT_IOS_SIMULATOR
0039 # define BOOST_PLAT_IOS_SIMULATOR BOOST_VERSION_NUMBER_AVAILABLE
0040 # else
0041 # undef BOOST_PLAT_IOS_DEVICE
0042 # define BOOST_PLAT_IOS_DEVICE BOOST_VERSION_NUMBER_AVAILABLE
0043 # endif
0044 #endif
0045
0046 #if BOOST_PLAT_IOS_SIMULATOR
0047 # define BOOST_PLAT_IOS_SIMULATOR_AVAILABLE
0048 # include <boost/predef/detail/platform_detected.h>
0049 #endif
0050
0051 #if BOOST_PLAT_IOS_DEVICE
0052 # define BOOST_PLAT_IOS_DEVICE_AVAILABLE
0053 # include <boost/predef/detail/platform_detected.h>
0054 #endif
0055
0056 #define BOOST_PLAT_IOS_SIMULATOR_NAME "iOS Simulator"
0057 #define BOOST_PLAT_IOS_DEVICE_NAME "iOS Device"
0058
0059 #endif
0060
0061 #include <boost/predef/detail/test.h>
0062 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_IOS_SIMULATOR,BOOST_PLAT_IOS_SIMULATOR_NAME)
0063 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_IOS_DEVICE,BOOST_PLAT_IOS_DEVICE_NAME)