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 
13 /* tag::reference[]
14 = `BOOST_OS_BSD_BSDI`
15 
16 http://en.wikipedia.org/wiki/BSD/OS[BSDi BSD/OS] operating system.
17 
18 [options="header"]
19 |===
20 | {predef_symbol} | {predef_version}
21 
22 | `+__bsdi__+` | {predef_detection}
23 |===
24 */ // end::reference[]
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
32 #       undef BOOST_OS_BSD
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)
51