macos.h
Go to the documentation of this file.
00001 /*
00002 Copyright Rene Rivera 2008-2015
00003 Copyright Franz Detro 2014
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_MACOS_H
00010 #define BOOST_PREDEF_OS_MACOS_H
00011 
00012 /* Special case: iOS will define the same predefs as MacOS, and additionally
00013  '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__'. We can guard against that,
00014  but only if we detect iOS first. Hence we will force include iOS detection
00015  * before doing any MacOS detection.
00016  */
00017 #include <boost/predef/os/ios.h>
00018 
00019 #include <boost/predef/version_number.h>
00020 #include <boost/predef/make.h>
00021 
00022 /*`
00023 [heading `BOOST_OS_MACOS`]
00024 
00025 [@http://en.wikipedia.org/wiki/Mac_OS Mac OS] operating system.
00026 
00027 [table
00028     [[__predef_symbol__] [__predef_version__]]
00029 
00030     [[`macintosh`] [__predef_detection__]]
00031     [[`Macintosh`] [__predef_detection__]]
00032     [[`__APPLE__`] [__predef_detection__]]
00033     [[`__MACH__`] [__predef_detection__]]
00034 
00035     [[`__APPLE__`, `__MACH__`] [10.0.0]]
00036     [[ /otherwise/ ] [9.0.0]]
00037     ]
00038  */
00039 
00040 #define BOOST_OS_MACOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
00041 
00042 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
00043     defined(macintosh) || defined(Macintosh) || \
00044     (defined(__APPLE__) && defined(__MACH__)) \
00045     )
00046 #   undef BOOST_OS_MACOS
00047 #   if !defined(BOOST_OS_MACOS) && defined(__APPLE__) && defined(__MACH__)
00048 #       define BOOST_OS_MACOS BOOST_VERSION_NUMBER(10,0,0)
00049 #   endif
00050 #   if !defined(BOOST_OS_MACOS)
00051 #       define BOOST_OS_MACOS BOOST_VERSION_NUMBER(9,0,0)
00052 #   endif
00053 #endif
00054 
00055 #if BOOST_OS_MACOS
00056 #   define BOOST_OS_MACOS_AVAILABLE
00057 #   include <boost/predef/detail/os_detected.h>
00058 #endif
00059 
00060 #define BOOST_OS_MACOS_NAME "Mac OS"
00061 
00062 #endif
00063 
00064 #include <boost/predef/detail/test.h>
00065 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_MACOS,BOOST_OS_MACOS_NAME)


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