]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | Copyright Rene Rivera 2012-2015 | |
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 | ||
f67539c2 TL |
13 | /* tag::reference[] |
14 | = `BOOST_OS_BSD_BSDI` | |
7c673cae | 15 | |
f67539c2 | 16 | http://en.wikipedia.org/wiki/BSD/OS[BSDi BSD/OS] operating system. |
7c673cae | 17 | |
f67539c2 TL |
18 | [options="header"] |
19 | |=== | |
20 | | {predef_symbol} | {predef_version} | |
7c673cae | 21 | |
f67539c2 TL |
22 | | `+__bsdi__+` | {predef_detection} |
23 | |=== | |
24 | */ // end::reference[] | |
7c673cae FG |
25 | |
26 | #define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
27 | ||
28 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ | |
29 | defined(__bsdi__) \ | |
30 | ) | |
31 | # ifndef BOOST_OS_BSD_AVAILABLE | |
1e59de90 | 32 | # undef BOOST_OS_BSD |
7c673cae FG |
33 | # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE |
34 | # define BOOST_OS_BSD_AVAILABLE | |
35 | # endif | |
36 | # undef BOOST_OS_BSD_BSDI | |
37 | # define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_AVAILABLE | |
38 | #endif | |
39 | ||
40 | #if BOOST_OS_BSD_BSDI | |
41 | # define BOOST_OS_BSD_BSDI_AVAILABLE | |
42 | # include <boost/predef/detail/os_detected.h> | |
43 | #endif | |
44 | ||
45 | #define BOOST_OS_BSD_BSDI_NAME "BSDi BSD/OS" | |
46 | ||
47 | #endif | |
48 | ||
49 | #include <boost/predef/detail/test.h> | |
50 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_BSDI,BOOST_OS_BSD_BSDI_NAME) |