annotate DEPENDENCIES/generic/include/boost/predef/os/ios.h @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents f46d142149f5
children
rev   line source
Chris@102 1 /*
Chris@102 2 Copyright Franz Detro 2014
Chris@102 3 Distributed under the Boost Software License, Version 1.0.
Chris@102 4 (See accompanying file LICENSE_1_0.txt or copy at
Chris@102 5 http://www.boost.org/LICENSE_1_0.txt)
Chris@102 6 */
Chris@102 7
Chris@102 8 #ifndef BOOST_PREDEF_OS_IOS_H
Chris@102 9 #define BOOST_PREDEF_OS_IOS_H
Chris@102 10
Chris@102 11 #include <boost/predef/version_number.h>
Chris@102 12 #include <boost/predef/make.h>
Chris@102 13
Chris@102 14 /*`
Chris@102 15 [heading `BOOST_OS_IOS`]
Chris@102 16
Chris@102 17 [@http://en.wikipedia.org/wiki/iOS iOS] operating system.
Chris@102 18
Chris@102 19 [table
Chris@102 20 [[__predef_symbol__] [__predef_version__]]
Chris@102 21
Chris@102 22 [[`__APPLE__`] [__predef_detection__]]
Chris@102 23 [[`__MACH__`] [__predef_detection__]]
Chris@102 24 [[`__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__`] [__predef_detection__]]
Chris@102 25
Chris@102 26 [[`__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__`] [__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__*1000]]
Chris@102 27 ]
Chris@102 28 */
Chris@102 29
Chris@102 30 #define BOOST_OS_IOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
Chris@102 31
Chris@102 32 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
Chris@102 33 defined(__APPLE__) && defined(__MACH__) && \
Chris@102 34 defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) \
Chris@102 35 )
Chris@102 36 # undef BOOST_OS_IOS
Chris@102 37 # define BOOST_OS_IOS (__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__*1000)
Chris@102 38 #endif
Chris@102 39
Chris@102 40 #if BOOST_OS_IOS
Chris@102 41 # define BOOST_OS_IOS_AVAILABLE
Chris@102 42 # include <boost/predef/detail/os_detected.h>
Chris@102 43 #endif
Chris@102 44
Chris@102 45 #define BOOST_OS_IOS_NAME "iOS"
Chris@102 46
Chris@102 47 #include <boost/predef/detail/test.h>
Chris@102 48 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_IOS,BOOST_OS_IOS_NAME)
Chris@102 49
Chris@102 50
Chris@102 51 #endif