Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BOOST_PREDEF_OS_BSD_FREE_H
00009 #define BOOST_PREDEF_OS_BSD_FREE_H
00010
00011 #include <boost/predef/os/bsd.h>
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_NOT_AVAILABLE
00028
00029 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
00030 defined(__FreeBSD__) \
00031 )
00032 # ifndef BOOST_OS_BSD_AVAILABLE
00033 # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
00034 # define BOOST_OS_BSD_AVAILABLE
00035 # endif
00036 # undef BOOST_OS_BSD_FREE
00037 # if defined(__FreeBSD_version)
00038 # if __FreeBSD_version < 500000
00039 # define BOOST_OS_BSD_FREE \
00040 BOOST_PREDEF_MAKE_10_VRP000(__FreeBSD_version)
00041 # else
00042 # define BOOST_OS_BSD_FREE \
00043 BOOST_PREDEF_MAKE_10_VRR000(__FreeBSD_version)
00044 # endif
00045 # else
00046 # define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_AVAILABLE
00047 # endif
00048 #endif
00049
00050 #if BOOST_OS_BSD_FREE
00051 # define BOOST_OS_BSD_FREE_AVAILABLE
00052 # include <boost/predef/detail/os_detected.h>
00053 #endif
00054
00055 #define BOOST_OS_BSD_FREE_NAME "Free BSD"
00056
00057 #endif
00058
00059 #include <boost/predef/detail/test.h>
00060 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_FREE,BOOST_OS_BSD_FREE_NAME)