| 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 | # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE |
| 33 | # define BOOST_OS_BSD_AVAILABLE |
| 34 | # endif |
| 35 | # undef BOOST_OS_BSD_DRAGONFLY |
| 36 | # if defined(__DragonFly__) |
| 37 | # define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER_AVAILABLE |
| 38 | # endif |
| 39 | #endif |
| 40 | |
| 41 | #if BOOST_OS_BSD_DRAGONFLY |
| 42 | # define BOOST_OS_BSD_DRAGONFLY_AVAILABLE |
| 43 | # include <boost/predef/detail/os_detected.h> |
| 44 | #endif |
| 45 | |
| 46 | #define BOOST_OS_BSD_DRAGONFLY_NAME "DragonFly BSD" |
| 47 | |
| 48 | #endif |
| 49 | |
| 50 | #include <boost/predef/detail/test.h> |
| 51 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_DRAGONFLY,BOOST_OS_BSD_DRAGONFLY_NAME) |
| 52 | |