Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BOOST_PREDEF_OS_BSD_NET_H
00009 #define BOOST_PREDEF_OS_BSD_NET_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
00028
00029
00030
00031
00032 #define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_NOT_AVAILABLE
00033
00034 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
00035 defined(__NETBSD__) || defined(__NetBSD__) \
00036 )
00037 # ifndef BOOST_OS_BSD_AVAILABLE
00038 # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
00039 # define BOOST_OS_BSD_AVAILABLE
00040 # endif
00041 # undef BOOST_OS_BSD_NET
00042 # if defined(__NETBSD__)
00043 # if defined(__NETBSD_version)
00044 # if __NETBSD_version < 500000
00045 # define BOOST_OS_BSD_NET \
00046 BOOST_PREDEF_MAKE_10_VRP000(__NETBSD_version)
00047 # else
00048 # define BOOST_OS_BSD_NET \
00049 BOOST_PREDEF_MAKE_10_VRR000(__NETBSD_version)
00050 # endif
00051 # else
00052 # define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_AVAILABLE
00053 # endif
00054 # elif defined(__NetBSD__)
00055 # if !defined(BOOST_OS_BSD_NET) && defined(NetBSD0_8)
00056 # define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,8,0)
00057 # endif
00058 # if !defined(BOOST_OS_BSD_NET) && defined(NetBSD0_9)
00059 # define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,9,0)
00060 # endif
00061 # if !defined(BOOST_OS_BSD_NET) && defined(NetBSD1_0)
00062 # define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(1,0,0)
00063 # endif
00064 # if !defined(BOOST_OS_BSD_NET) && defined(__NetBSD_Version)
00065 # define BOOST_OS_BSD_NET \
00066 BOOST_PREDEF_MAKE_10_VVRR00PP00(__NetBSD_Version)
00067 # endif
00068 # if !defined(BOOST_OS_BSD_NET)
00069 # define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_AVAILABLE
00070 # endif
00071 # endif
00072 #endif
00073
00074 #if BOOST_OS_BSD_NET
00075 # define BOOST_OS_BSD_NET_AVAILABLE
00076 # include <boost/predef/detail/os_detected.h>
00077 #endif
00078
00079 #define BOOST_OS_BSD_NET_NAME "DragonFly BSD"
00080
00081 #endif
00082
00083 #include <boost/predef/detail/test.h>
00084 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_NET,BOOST_OS_BSD_NET_NAME)