File indexing completed on 2025-01-18 09:48:06
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_OS_BSD_H
0009 #define BOOST_PREDEF_OS_BSD_H
0010
0011
0012
0013
0014
0015
0016 #include <boost/predef/os/macos.h>
0017
0018 #include <boost/predef/version_number.h>
0019 #include <boost/predef/make.h>
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053 #include <boost/predef/os/bsd/bsdi.h>
0054 #include <boost/predef/os/bsd/dragonfly.h>
0055 #include <boost/predef/os/bsd/free.h>
0056 #include <boost/predef/os/bsd/open.h>
0057 #include <boost/predef/os/bsd/net.h>
0058
0059 #ifndef BOOST_OS_BSD
0060 #define BOOST_OS_BSD BOOST_VERSION_NUMBER_NOT_AVAILABLE
0061 #endif
0062
0063 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
0064 defined(BSD) || \
0065 defined(_SYSTYPE_BSD) \
0066 )
0067 # undef BOOST_OS_BSD
0068 # include <sys/param.h>
0069 # if !defined(BOOST_OS_BSD) && defined(BSD4_4)
0070 # define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,4,0)
0071 # endif
0072 # if !defined(BOOST_OS_BSD) && defined(BSD4_3)
0073 # define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,3,0)
0074 # endif
0075 # if !defined(BOOST_OS_BSD) && defined(BSD4_2)
0076 # define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,2,0)
0077 # endif
0078 # if !defined(BOOST_OS_BSD) && defined(BSD)
0079 # define BOOST_OS_BSD BOOST_PREDEF_MAKE_10_VVRR(BSD)
0080 # endif
0081 # if !defined(BOOST_OS_BSD)
0082 # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
0083 # endif
0084 #endif
0085
0086 #if BOOST_OS_BSD
0087 # define BOOST_OS_BSD_AVAILABLE
0088 # include <boost/predef/detail/os_detected.h>
0089 #endif
0090
0091 #define BOOST_OS_BSD_NAME "BSD"
0092
0093 #endif
0094
0095 #include <boost/predef/os/bsd/bsdi.h>
0096 #include <boost/predef/os/bsd/dragonfly.h>
0097 #include <boost/predef/os/bsd/free.h>
0098 #include <boost/predef/os/bsd/open.h>
0099 #include <boost/predef/os/bsd/net.h>
0100
0101 #include <boost/predef/detail/test.h>
0102 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD,BOOST_OS_BSD_NAME)