]> git.donarmstrong.com Git - rsem.git/blob - boost/predef/os/macos.h
Updated boost to v1.55.0
[rsem.git] / boost / predef / os / macos.h
1 /*
2 Copyright Redshift Software, Inc. 2008-2013
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
6 */
7
8 #ifndef BOOST_PREDEF_OS_MACOS_H
9 #define BOOST_PREDEF_OS_MACOS_H
10
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
13
14 /*`
15 [heading `BOOST_OS_MACOS`]
16
17 [@http://en.wikipedia.org/wiki/Mac_OS Mac OS] operating system.
18
19 [table
20     [[__predef_symbol__] [__predef_version__]]
21
22     [[`macintosh`] [__predef_detection__]]
23     [[`Macintosh`] [__predef_detection__]]
24     [[`__APPLE__`] [__predef_detection__]]
25     [[`__MACH__`] [__predef_detection__]]
26
27     [[`__APPLE__`, `__MACH__`] [10.0.0]]
28     [[ /otherwise/ ] [9.0.0]]
29     ]
30  */
31
32 #define BOOST_OS_MACOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
33
34 #if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
35     defined(macintosh) || defined(Macintosh) || \
36     (defined(__APPLE__) && defined(__MACH__)) \
37     )
38 #   undef BOOST_OS_MACOS
39 #   if !defined(BOOST_OS_MACOS) && defined(__APPLE__) && defined(__MACH__)
40 #       define BOOST_OS_MACOS BOOST_VERSION_NUMBER(10,0,0)
41 #   endif
42 #   if !defined(BOOST_OS_MACOS)
43 #       define BOOST_OS_MACOS BOOST_VERSION_NUMBER(9,0,0)
44 #   endif
45 #endif
46
47 #if BOOST_OS_MACOS
48 #   define BOOST_OS_MACOS_AVAILABLE
49 #   include <boost/predef/detail/os_detected.h>
50 #endif
51
52 #define BOOST_OS_MACOS_NAME "Mac OS"
53
54 #include <boost/predef/detail/test.h>
55 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_MACOS,BOOST_OS_MACOS_NAME)
56
57
58 #endif