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_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
16http://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>
51BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_DRAGONFLY,BOOST_OS_BSD_DRAGONFLY_NAME)
52

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