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_DRAGONFLY_H
9 #define BOOST_PREDEF_OS_BSD_DRAGONFLY_H
10 
11 #include <boost/predef/os/bsd.h>
12 
13 /* tag::reference[]
14 = `BOOST_OS_BSD_DRAGONFLY`
15 
16 http://en.wikipedia.org/wiki/DragonFly_BSD[DragonFly BSD] operating system.
17 
18 [options="header"]
19 |===
20 | {predef_symbol} | {predef_version}
21 
22 | `+__DragonFly__+` | {predef_detection}
23 |===
24 */ // end::reference[]
25 
26 #define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER_NOT_AVAILABLE
27 
28 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
29     defined(__DragonFly__) \
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_DRAGONFLY
37 #   if defined(__DragonFly__)
38 #       define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER_AVAILABLE
39 #   endif
40 #endif
41 
42 #if BOOST_OS_BSD_DRAGONFLY
43 #   define BOOST_OS_BSD_DRAGONFLY_AVAILABLE
44 #   include <boost/predef/detail/os_detected.h>
45 #endif
46 
47 #define BOOST_OS_BSD_DRAGONFLY_NAME "DragonFly BSD"
48 
49 #endif
50 
51 #include <boost/predef/detail/test.h>
52 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_DRAGONFLY,BOOST_OS_BSD_DRAGONFLY_NAME)
53