1 | /* |
2 | Copyright Jessica Hamilton 2014 |
3 | Copyright Rene Rivera 2014-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) |
7 | */ |
8 | |
9 | #ifndef BOOST_PREDEF_OS_HAIKU_H |
10 | #define BOOST_PREDEF_OS_HAIKU_H |
11 | |
12 | #include <boost/predef/version_number.h> |
13 | #include <boost/predef/make.h> |
14 | |
15 | /*` |
16 | [heading `BOOST_OS_HAIKU`] |
17 | |
18 | [@http://en.wikipedia.org/wiki/Haiku_(operating_system) Haiku] operating system. |
19 | |
20 | [table |
21 | [[__predef_symbol__] [__predef_version__]] |
22 | |
23 | [[`__HAIKU__`] [__predef_detection__]] |
24 | ] |
25 | */ |
26 | |
27 | #define BOOST_OS_HAIKU BOOST_VERSION_NUMBER_NOT_AVAILABLE |
28 | |
29 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ |
30 | defined(__HAIKU__) \ |
31 | ) |
32 | # undef BOOST_OS_HAIKU |
33 | # define BOOST_OS_HAIKU BOOST_VERSION_NUMBER_AVAILABLE |
34 | #endif |
35 | |
36 | #if BOOST_OS_HAIKU |
37 | # define BOOST_OS_HAIKU_AVAILABLE |
38 | # include <boost/predef/detail/os_detected.h> |
39 | #endif |
40 | |
41 | #define BOOST_OS_HAIKU_NAME "Haiku" |
42 | |
43 | #endif |
44 | |
45 | #include <boost/predef/detail/test.h> |
46 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_HAIKU,BOOST_OS_HAIKU_NAME) |
47 | |