]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/predef/include/boost/predef/os/ios.h
2 Copyright Franz Detro 2014
3 Copyright Rene Rivera 2015
4 Distributed under the Boost Software License, Version 1.0.
5 (See accompanying file LICENSE_1_0.txt or copy at
6 http://www.boost.org/LICENSE_1_0.txt)
9 #ifndef BOOST_PREDEF_OS_IOS_H
10 #define BOOST_PREDEF_OS_IOS_H
12 #include <boost/predef/version_number.h>
13 #include <boost/predef/make.h>
16 [heading `BOOST_OS_IOS`]
18 [@http://en.wikipedia.org/wiki/iOS iOS] operating system.
21 [[__predef_symbol__] [__predef_version__]]
23 [[`__APPLE__`] [__predef_detection__]]
24 [[`__MACH__`] [__predef_detection__]]
25 [[`__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__`] [__predef_detection__]]
27 [[`__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__`] [__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__*1000]]
31 #define BOOST_OS_IOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
33 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
34 defined(__APPLE__) && defined(__MACH__) && \
35 defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) \
38 # define BOOST_OS_IOS (__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__*1000)
42 # define BOOST_OS_IOS_AVAILABLE
43 # include <boost/predef/detail/os_detected.h>
46 #define BOOST_OS_IOS_NAME "iOS"
50 #include <boost/predef/detail/test.h>
51 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_IOS
,BOOST_OS_IOS_NAME
)