2 Copyright Redshift Software, Inc. 2012-2013
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)
8 #ifndef BOOST_PREDEF_OS_BSD_FREE_H
9 #define BOOST_PREDEF_OS_BSD_FREE_H
11 #include <boost/predef/os/bsd.h>
14 [heading `BOOST_OS_BSD_FREE`]
16 [@http://en.wikipedia.org/wiki/Freebsd FreeBSD] operating system.
19 [[__predef_symbol__] [__predef_version__]]
21 [[`__FreeBSD__`] [__predef_detection__]]
23 [[`__FreeBSD_version`] [V.R.P]]
27 #define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_NOT_AVAILABLE
29 #if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
30 defined(__FreeBSD__) \
32 # ifndef BOOST_OS_BSD_AVAILABLE
33 # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
34 # define BOOST_OS_BSD_AVAILABLE
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)
42 # define BOOST_OS_BSD_FREE \
43 BOOST_PREDEF_MAKE_10_VRR000(__FreeBSD_version)
46 # define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_AVAILABLE
51 # define BOOST_OS_BSD_FREE_AVAILABLE
52 # include <boost/predef/detail/os_detected.h>
55 #define BOOST_OS_BSD_FREE_NAME "Free BSD"
57 #include <boost/predef/detail/test.h>
58 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_FREE,BOOST_OS_BSD_FREE_NAME)