Main Page
Namespaces
Classes
Files
File List
File Members
src
boost
predef
os
bsd
free.h
Go to the documentation of this file.
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_FREE_H
9
#define BOOST_PREDEF_OS_BSD_FREE_H
10
11
#include <
boost/predef/os/bsd.h
>
12
13
/*`
14
[heading `BOOST_OS_BSD_FREE`]
15
16
[@http://en.wikipedia.org/wiki/Freebsd FreeBSD] operating system.
17
18
[table
19
[[__predef_symbol__] [__predef_version__]]
20
21
[[`__FreeBSD__`] [__predef_detection__]]
22
23
[[`__FreeBSD_version`] [V.R.P]]
24
]
25
*/
26
27
#define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_NOT_AVAILABLE
28
29
#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
30
defined(__FreeBSD__) \
31
)
32
# ifndef BOOST_OS_BSD_AVAILABLE
33
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
34
# define BOOST_OS_BSD_AVAILABLE
35
# endif
36
# undef BOOST_OS_BSD_FREE
37
# if defined(__FreeBSD_version)
38
# if __FreeBSD_version < 500000
39
# define BOOST_OS_BSD_FREE \
40
BOOST_PREDEF_MAKE_10_VRP000(__FreeBSD_version)
41
# else
42
# define BOOST_OS_BSD_FREE \
43
BOOST_PREDEF_MAKE_10_VRR000(__FreeBSD_version)
44
# endif
45
# else
46
# define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_AVAILABLE
47
# endif
48
#endif
49
50
#if BOOST_OS_BSD_FREE
51
# define BOOST_OS_BSD_FREE_AVAILABLE
52
# include <boost/predef/detail/os_detected.h>
53
#endif
54
55
#define BOOST_OS_BSD_FREE_NAME "Free BSD"
56
57
#endif
58
59
#include <
boost/predef/detail/test.h
>
60
BOOST_PREDEF_DECLARE_TEST
(
BOOST_OS_BSD_FREE
,
BOOST_OS_BSD_FREE_NAME
)
bsd.h
BOOST_OS_BSD_FREE_NAME
#define BOOST_OS_BSD_FREE_NAME
Definition:
free.h:55
test.h
BOOST_OS_BSD_FREE
#define BOOST_OS_BSD_FREE
Definition:
free.h:27
BOOST_PREDEF_DECLARE_TEST
#define BOOST_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
cv_bridge
Author(s): Patrick Mihelich, James Bowman
autogenerated on Thu Jun 6 2019 19:57:55