File indexing completed on 2025-01-18 09:48:06
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_OS_BSD_OPEN_H
0009 #define BOOST_PREDEF_OS_BSD_OPEN_H
0010
0011 #include <boost/predef/os/bsd.h>
0012
0013
0014
0015
0016
0017
0018
0019
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
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077 #define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_NOT_AVAILABLE
0078
0079 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
0080 defined(__OpenBSD__) \
0081 )
0082 # ifndef BOOST_OS_BSD_AVAILABLE
0083 # undef BOOST_OS_BSD
0084 # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
0085 # define BOOST_OS_BSD_AVAILABLE
0086 # endif
0087 # undef BOOST_OS_BSD_OPEN
0088 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_0)
0089 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,0,0)
0090 # endif
0091 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_1)
0092 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,1,0)
0093 # endif
0094 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_2)
0095 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,2,0)
0096 # endif
0097 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_3)
0098 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,3,0)
0099 # endif
0100 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_4)
0101 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,4,0)
0102 # endif
0103 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_5)
0104 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,5,0)
0105 # endif
0106 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_6)
0107 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,6,0)
0108 # endif
0109 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_7)
0110 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,7,0)
0111 # endif
0112 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_8)
0113 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,8,0)
0114 # endif
0115 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_9)
0116 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,9,0)
0117 # endif
0118 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_0)
0119 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,0,0)
0120 # endif
0121 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_1)
0122 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,1,0)
0123 # endif
0124 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_2)
0125 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,2,0)
0126 # endif
0127 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_3)
0128 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,3,0)
0129 # endif
0130 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_4)
0131 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,4,0)
0132 # endif
0133 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_5)
0134 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,5,0)
0135 # endif
0136 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_6)
0137 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,6,0)
0138 # endif
0139 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_7)
0140 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,7,0)
0141 # endif
0142 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_8)
0143 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,8,0)
0144 # endif
0145 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_9)
0146 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,9,0)
0147 # endif
0148 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_0)
0149 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,0,0)
0150 # endif
0151 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_1)
0152 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,1,0)
0153 # endif
0154 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_2)
0155 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,2,0)
0156 # endif
0157 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_3)
0158 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,3,0)
0159 # endif
0160 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_4)
0161 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,4,0)
0162 # endif
0163 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_5)
0164 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,5,0)
0165 # endif
0166 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_6)
0167 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,6,0)
0168 # endif
0169 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_7)
0170 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,7,0)
0171 # endif
0172 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_8)
0173 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,8,0)
0174 # endif
0175 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_9)
0176 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,9,0)
0177 # endif
0178 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_0)
0179 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,0,0)
0180 # endif
0181 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_1)
0182 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,1,0)
0183 # endif
0184 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_2)
0185 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,2,0)
0186 # endif
0187 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_3)
0188 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,3,0)
0189 # endif
0190 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_4)
0191 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,4,0)
0192 # endif
0193 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_5)
0194 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,5,0)
0195 # endif
0196 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_6)
0197 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,6,0)
0198 # endif
0199 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_7)
0200 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,7,0)
0201 # endif
0202 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_8)
0203 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,8,0)
0204 # endif
0205 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_9)
0206 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,9,0)
0207 # endif
0208 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_0)
0209 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,0,0)
0210 # endif
0211 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_1)
0212 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,1,0)
0213 # endif
0214 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_2)
0215 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,2,0)
0216 # endif
0217 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_3)
0218 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,3,0)
0219 # endif
0220 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_4)
0221 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,4,0)
0222 # endif
0223 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_5)
0224 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,5,0)
0225 # endif
0226 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_6)
0227 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,6,0)
0228 # endif
0229 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_7)
0230 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,7,0)
0231 # endif
0232 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_8)
0233 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,8,0)
0234 # endif
0235 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_9)
0236 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,9,0)
0237 # endif
0238 # if !defined(BOOST_OS_BSD_OPEN)
0239 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_AVAILABLE
0240 # endif
0241 #endif
0242
0243 #if BOOST_OS_BSD_OPEN
0244 # define BOOST_OS_BSD_OPEN_AVAILABLE
0245 # include <boost/predef/detail/os_detected.h>
0246 #endif
0247
0248 #define BOOST_OS_BSD_OPEN_NAME "OpenBSD"
0249
0250 #endif
0251
0252 #include <boost/predef/detail/test.h>
0253 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_OPEN,BOOST_OS_BSD_OPEN_NAME)