1 | /* |
2 | Copyright Rene Rivera 2012-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_BSD_BSDI_H |
9 | #define BOOST_PREDEF_OS_BSD_BSDI_H |
10 | |
11 | #include <boost/predef/os/bsd.h> |
12 | |
13 | /*` |
14 | [heading `BOOST_OS_BSD_BSDI`] |
15 | |
16 | [@http://en.wikipedia.org/wiki/BSD/OS BSDi BSD/OS] operating system. |
17 | |
18 | [table |
19 | [[__predef_symbol__] [__predef_version__]] |
20 | |
21 | [[`__bsdi__`] [__predef_detection__]] |
22 | ] |
23 | */ |
24 | |
25 | #define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_NOT_AVAILABLE |
26 | |
27 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ |
28 | defined(__bsdi__) \ |
29 | ) |
30 | # ifndef BOOST_OS_BSD_AVAILABLE |
31 | # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE |
32 | # define BOOST_OS_BSD_AVAILABLE |
33 | # endif |
34 | # undef BOOST_OS_BSD_BSDI |
35 | # define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_AVAILABLE |
36 | #endif |
37 | |
38 | #if BOOST_OS_BSD_BSDI |
39 | # define BOOST_OS_BSD_BSDI_AVAILABLE |
40 | # include <boost/predef/detail/os_detected.h> |
41 | #endif |
42 | |
43 | #define BOOST_OS_BSD_BSDI_NAME "BSDi BSD/OS" |
44 | |
45 | #include <boost/predef/detail/test.h> |
46 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_BSDI,BOOST_OS_BSD_BSDI_NAME) |
47 | |
48 | #endif |
49 | |