1/*
2Copyright Rene Rivera 2012-2015
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://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
16http://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# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
33# define BOOST_OS_BSD_AVAILABLE
34# endif
35# undef BOOST_OS_BSD_BSDI
36# define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_AVAILABLE
37#endif
38
39#if BOOST_OS_BSD_BSDI
40# define BOOST_OS_BSD_BSDI_AVAILABLE
41# include <boost/predef/detail/os_detected.h>
42#endif
43
44#define BOOST_OS_BSD_BSDI_NAME "BSDi BSD/OS"
45
46#endif
47
48#include <boost/predef/detail/test.h>
49BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_BSDI,BOOST_OS_BSD_BSDI_NAME)
50

source code of include/boost/predef/os/bsd/bsdi.h