]>
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_DRAGONFLY_H | |
9 | #define BOOST_PREDEF_OS_BSD_DRAGONFLY_H | |
10 | ||
11 | #include <boost/predef/os/bsd.h> | |
12 | ||
13 | /*` | |
14 | [heading `BOOST_OS_BSD_DRAGONFLY`] | |
15 | ||
16 | [@http://en.wikipedia.org/wiki/DragonFly_BSD DragonFly BSD] operating system. | |
17 | ||
18 | [table | |
19 | [[__predef_symbol__] [__predef_version__]] | |
20 | ||
21 | [[`__DragonFly__`] [__predef_detection__]] | |
22 | ] | |
23 | */ | |
24 | ||
25 | #define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
26 | ||
27 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ | |
28 | defined(__DragonFly__) \ | |
29 | ) | |
30 | # ifndef BOOST_OS_BSD_AVAILABLE | |
31 | # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE | |
32 | # define BOOST_OS_BSD_AVAILABLE | |
33 | # endif | |
34 | # undef BOOST_OS_BSD_DRAGONFLY | |
35 | # if defined(__DragonFly__) | |
36 | # define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER_AVAILABLE | |
37 | # endif | |
38 | #endif | |
39 | ||
40 | #if BOOST_OS_BSD_DRAGONFLY | |
41 | # define BOOST_OS_BSD_DRAGONFLY_AVAILABLE | |
42 | # include <boost/predef/detail/os_detected.h> | |
43 | #endif | |
44 | ||
45 | #define BOOST_OS_BSD_DRAGONFLY_NAME "DragonFly BSD" | |
46 | ||
47 | #endif | |
48 | ||
49 | #include <boost/predef/detail/test.h> | |
50 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_DRAGONFLY,BOOST_OS_BSD_DRAGONFLY_NAME) |