ios.h
Go to the documentation of this file.
00001 /*
00002 Copyright Franz Detro 2014
00003 Copyright Rene Rivera 2015
00004 Distributed under the Boost Software License, Version 1.0.
00005 (See accompanying file LICENSE_1_0.txt or copy at
00006 http://www.boost.org/LICENSE_1_0.txt)
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 [heading `BOOST_OS_IOS`]
00017 
00018 [@http://en.wikipedia.org/wiki/iOS iOS] operating system.
00019 
00020 [table
00021     [[__predef_symbol__] [__predef_version__]]
00022 
00023     [[`__APPLE__`] [__predef_detection__]]
00024     [[`__MACH__`] [__predef_detection__]]
00025     [[`__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__`] [__predef_detection__]]
00026 
00027     [[`__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__`] [__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__*1000]]
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)


cv_bridge
Author(s): Patrick Mihelich, James Bowman
autogenerated on Wed Aug 9 2017 02:51:41