| 1 | /* |
| 2 | * Copyright (c) 2019 by Apple Inc.. All rights reserved. |
| 3 | * |
| 4 | * @APPLE_LICENSE_HEADER_START@ |
| 5 | * |
| 6 | * This file contains Original Code and/or Modifications of Original Code |
| 7 | * as defined in and that are subject to the Apple Public Source License |
| 8 | * Version 2.0 (the 'License'). You may not use this file except in |
| 9 | * compliance with the License. Please obtain a copy of the License at |
| 10 | * http://www.opensource.apple.com/apsl/ and read it before using this |
| 11 | * file. |
| 12 | * |
| 13 | * The Original Code and all software distributed under the License are |
| 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER |
| 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
| 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, |
| 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
| 18 | * Please see the License for the specific language governing rights and |
| 19 | * limitations under the License. |
| 20 | * |
| 21 | * @APPLE_LICENSE_HEADER_END@ |
| 22 | */ |
| 23 | |
| 24 | #ifndef __AVAILABILITY_VERSIONS__ |
| 25 | #define __AVAILABILITY_VERSIONS__ |
| 26 | |
| 27 | #define __MAC_10_0 1000 |
| 28 | #define __MAC_10_1 1010 |
| 29 | #define __MAC_10_2 1020 |
| 30 | #define __MAC_10_3 1030 |
| 31 | #define __MAC_10_4 1040 |
| 32 | #define __MAC_10_5 1050 |
| 33 | #define __MAC_10_6 1060 |
| 34 | #define __MAC_10_7 1070 |
| 35 | #define __MAC_10_8 1080 |
| 36 | #define __MAC_10_9 1090 |
| 37 | #define __MAC_10_10 101000 |
| 38 | #define __MAC_10_10_2 101002 |
| 39 | #define __MAC_10_10_3 101003 |
| 40 | #define __MAC_10_11 101100 |
| 41 | #define __MAC_10_11_2 101102 |
| 42 | #define __MAC_10_11_3 101103 |
| 43 | #define __MAC_10_11_4 101104 |
| 44 | #define __MAC_10_12 101200 |
| 45 | #define __MAC_10_12_1 101201 |
| 46 | #define __MAC_10_12_2 101202 |
| 47 | #define __MAC_10_12_4 101204 |
| 48 | #define __MAC_10_13 101300 |
| 49 | #define __MAC_10_13_1 101301 |
| 50 | #define __MAC_10_13_2 101302 |
| 51 | #define __MAC_10_13_4 101304 |
| 52 | #define __MAC_10_14 101400 |
| 53 | #define __MAC_10_14_1 101401 |
| 54 | #define __MAC_10_14_4 101404 |
| 55 | #define __MAC_10_14_5 101405 |
| 56 | #define __MAC_10_14_6 101406 |
| 57 | #define __MAC_10_15 101500 |
| 58 | #define __MAC_10_15_1 101501 |
| 59 | #define __MAC_10_15_4 101504 |
| 60 | #define __MAC_10_16 101600 |
| 61 | #define __MAC_11_0 110000 |
| 62 | #define __MAC_11_1 110100 |
| 63 | #define __MAC_11_3 110300 |
| 64 | #define __MAC_11_4 110400 |
| 65 | #define __MAC_11_5 110500 |
| 66 | #define __MAC_11_6 110600 |
| 67 | #define __MAC_12_0 120000 |
| 68 | #define __MAC_12_1 120100 |
| 69 | #define __MAC_12_2 120200 |
| 70 | #define __MAC_12_3 120300 |
| 71 | #define __MAC_12_4 120400 |
| 72 | #define __MAC_12_5 120500 |
| 73 | #define __MAC_12_6 120600 |
| 74 | #define __MAC_12_7 120700 |
| 75 | #define __MAC_13_0 130000 |
| 76 | #define __MAC_13_1 130100 |
| 77 | #define __MAC_13_2 130200 |
| 78 | #define __MAC_13_3 130300 |
| 79 | #define __MAC_13_4 130400 |
| 80 | #define __MAC_13_5 130500 |
| 81 | #define __MAC_13_6 130600 |
| 82 | #define __MAC_13_7 130700 |
| 83 | #define __MAC_14_0 140000 |
| 84 | #define __MAC_14_1 140100 |
| 85 | #define __MAC_14_2 140200 |
| 86 | #define __MAC_14_3 140300 |
| 87 | #define __MAC_14_4 140400 |
| 88 | #define __MAC_14_5 140500 |
| 89 | #define __MAC_14_6 140600 |
| 90 | #define __MAC_14_7 140700 |
| 91 | #define __MAC_15_0 150000 |
| 92 | #define __MAC_15_1 150100 |
| 93 | #define __MAC_15_2 150200 |
| 94 | #define __MAC_15_3 150300 |
| 95 | #define __MAC_15_4 150400 |
| 96 | #define __MAC_15_5 150500 |
| 97 | #define __MAC_15_6 150600 |
| 98 | #define __MAC_16_0 160000 |
| 99 | #define __MAC_26_0 260000 |
| 100 | #define __MAC_26_1 260100 |
| 101 | #define __MAC_26_2 260200 |
| 102 | #define __MAC_26_3 260300 |
| 103 | #define __MAC_26_4 260400 |
| 104 | #define __MAC_26_5 260500 |
| 105 | /* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 106 | |
| 107 | #define __IPHONE_2_0 20000 |
| 108 | #define __IPHONE_2_1 20100 |
| 109 | #define __IPHONE_2_2 20200 |
| 110 | #define __IPHONE_3_0 30000 |
| 111 | #define __IPHONE_3_1 30100 |
| 112 | #define __IPHONE_3_2 30200 |
| 113 | #define __IPHONE_4_0 40000 |
| 114 | #define __IPHONE_4_1 40100 |
| 115 | #define __IPHONE_4_2 40200 |
| 116 | #define __IPHONE_4_3 40300 |
| 117 | #define __IPHONE_5_0 50000 |
| 118 | #define __IPHONE_5_1 50100 |
| 119 | #define __IPHONE_6_0 60000 |
| 120 | #define __IPHONE_6_1 60100 |
| 121 | #define __IPHONE_7_0 70000 |
| 122 | #define __IPHONE_7_1 70100 |
| 123 | #define __IPHONE_8_0 80000 |
| 124 | #define __IPHONE_8_1 80100 |
| 125 | #define __IPHONE_8_2 80200 |
| 126 | #define __IPHONE_8_3 80300 |
| 127 | #define __IPHONE_8_4 80400 |
| 128 | #define __IPHONE_9_0 90000 |
| 129 | #define __IPHONE_9_1 90100 |
| 130 | #define __IPHONE_9_2 90200 |
| 131 | #define __IPHONE_9_3 90300 |
| 132 | #define __IPHONE_10_0 100000 |
| 133 | #define __IPHONE_10_1 100100 |
| 134 | #define __IPHONE_10_2 100200 |
| 135 | #define __IPHONE_10_3 100300 |
| 136 | #define __IPHONE_11_0 110000 |
| 137 | #define __IPHONE_11_1 110100 |
| 138 | #define __IPHONE_11_2 110200 |
| 139 | #define __IPHONE_11_3 110300 |
| 140 | #define __IPHONE_11_4 110400 |
| 141 | #define __IPHONE_12_0 120000 |
| 142 | #define __IPHONE_12_1 120100 |
| 143 | #define __IPHONE_12_2 120200 |
| 144 | #define __IPHONE_12_3 120300 |
| 145 | #define __IPHONE_12_4 120400 |
| 146 | #define __IPHONE_13_0 130000 |
| 147 | #define __IPHONE_13_1 130100 |
| 148 | #define __IPHONE_13_2 130200 |
| 149 | #define __IPHONE_13_3 130300 |
| 150 | #define __IPHONE_13_4 130400 |
| 151 | #define __IPHONE_13_5 130500 |
| 152 | #define __IPHONE_13_6 130600 |
| 153 | #define __IPHONE_13_7 130700 |
| 154 | #define __IPHONE_14_0 140000 |
| 155 | #define __IPHONE_14_1 140100 |
| 156 | #define __IPHONE_14_2 140200 |
| 157 | #define __IPHONE_14_3 140300 |
| 158 | #define __IPHONE_14_5 140500 |
| 159 | #define __IPHONE_14_6 140600 |
| 160 | #define __IPHONE_14_7 140700 |
| 161 | #define __IPHONE_14_8 140800 |
| 162 | #define __IPHONE_15_0 150000 |
| 163 | #define __IPHONE_15_1 150100 |
| 164 | #define __IPHONE_15_2 150200 |
| 165 | #define __IPHONE_15_3 150300 |
| 166 | #define __IPHONE_15_4 150400 |
| 167 | #define __IPHONE_15_5 150500 |
| 168 | #define __IPHONE_15_6 150600 |
| 169 | #define __IPHONE_15_7 150700 |
| 170 | #define __IPHONE_15_8 150800 |
| 171 | #define __IPHONE_16_0 160000 |
| 172 | #define __IPHONE_16_1 160100 |
| 173 | #define __IPHONE_16_2 160200 |
| 174 | #define __IPHONE_16_3 160300 |
| 175 | #define __IPHONE_16_4 160400 |
| 176 | #define __IPHONE_16_5 160500 |
| 177 | #define __IPHONE_16_6 160600 |
| 178 | #define __IPHONE_16_7 160700 |
| 179 | #define __IPHONE_17_0 170000 |
| 180 | #define __IPHONE_17_1 170100 |
| 181 | #define __IPHONE_17_2 170200 |
| 182 | #define __IPHONE_17_3 170300 |
| 183 | #define __IPHONE_17_4 170400 |
| 184 | #define __IPHONE_17_5 170500 |
| 185 | #define __IPHONE_17_6 170600 |
| 186 | #define __IPHONE_17_7 170700 |
| 187 | #define __IPHONE_18_0 180000 |
| 188 | #define __IPHONE_18_1 180100 |
| 189 | #define __IPHONE_18_2 180200 |
| 190 | #define __IPHONE_18_3 180300 |
| 191 | #define __IPHONE_18_4 180400 |
| 192 | #define __IPHONE_18_5 180500 |
| 193 | #define __IPHONE_18_6 180600 |
| 194 | #define __IPHONE_19_0 190000 |
| 195 | #define __IPHONE_26_0 260000 |
| 196 | #define __IPHONE_26_1 260100 |
| 197 | #define __IPHONE_26_2 260200 |
| 198 | #define __IPHONE_26_3 260300 |
| 199 | #define __IPHONE_26_4 260400 |
| 200 | #define __IPHONE_26_5 260500 |
| 201 | /* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 202 | |
| 203 | #define __WATCHOS_1_0 10000 |
| 204 | #define __WATCHOS_2_0 20000 |
| 205 | #define __WATCHOS_2_1 20100 |
| 206 | #define __WATCHOS_2_2 20200 |
| 207 | #define __WATCHOS_3_0 30000 |
| 208 | #define __WATCHOS_3_1 30100 |
| 209 | #define __WATCHOS_3_1_1 30101 |
| 210 | #define __WATCHOS_3_2 30200 |
| 211 | #define __WATCHOS_4_0 40000 |
| 212 | #define __WATCHOS_4_1 40100 |
| 213 | #define __WATCHOS_4_2 40200 |
| 214 | #define __WATCHOS_4_3 40300 |
| 215 | #define __WATCHOS_5_0 50000 |
| 216 | #define __WATCHOS_5_1 50100 |
| 217 | #define __WATCHOS_5_2 50200 |
| 218 | #define __WATCHOS_5_3 50300 |
| 219 | #define __WATCHOS_6_0 60000 |
| 220 | #define __WATCHOS_6_1 60100 |
| 221 | #define __WATCHOS_6_2 60200 |
| 222 | #define __WATCHOS_7_0 70000 |
| 223 | #define __WATCHOS_7_1 70100 |
| 224 | #define __WATCHOS_7_2 70200 |
| 225 | #define __WATCHOS_7_3 70300 |
| 226 | #define __WATCHOS_7_4 70400 |
| 227 | #define __WATCHOS_7_5 70500 |
| 228 | #define __WATCHOS_7_6 70600 |
| 229 | #define __WATCHOS_8_0 80000 |
| 230 | #define __WATCHOS_8_1 80100 |
| 231 | #define __WATCHOS_8_3 80300 |
| 232 | #define __WATCHOS_8_4 80400 |
| 233 | #define __WATCHOS_8_5 80500 |
| 234 | #define __WATCHOS_8_6 80600 |
| 235 | #define __WATCHOS_8_7 80700 |
| 236 | #define __WATCHOS_8_8 80800 |
| 237 | #define __WATCHOS_9_0 90000 |
| 238 | #define __WATCHOS_9_1 90100 |
| 239 | #define __WATCHOS_9_2 90200 |
| 240 | #define __WATCHOS_9_3 90300 |
| 241 | #define __WATCHOS_9_4 90400 |
| 242 | #define __WATCHOS_9_5 90500 |
| 243 | #define __WATCHOS_9_6 90600 |
| 244 | #define __WATCHOS_10_0 100000 |
| 245 | #define __WATCHOS_10_1 100100 |
| 246 | #define __WATCHOS_10_2 100200 |
| 247 | #define __WATCHOS_10_3 100300 |
| 248 | #define __WATCHOS_10_4 100400 |
| 249 | #define __WATCHOS_10_5 100500 |
| 250 | #define __WATCHOS_10_6 100600 |
| 251 | #define __WATCHOS_10_7 100700 |
| 252 | #define __WATCHOS_11_0 110000 |
| 253 | #define __WATCHOS_11_1 110100 |
| 254 | #define __WATCHOS_11_2 110200 |
| 255 | #define __WATCHOS_11_3 110300 |
| 256 | #define __WATCHOS_11_4 110400 |
| 257 | #define __WATCHOS_11_5 110500 |
| 258 | #define __WATCHOS_11_6 110600 |
| 259 | #define __WATCHOS_12_0 120000 |
| 260 | #define __WATCHOS_26_0 260000 |
| 261 | #define __WATCHOS_26_1 260100 |
| 262 | #define __WATCHOS_26_2 260200 |
| 263 | #define __WATCHOS_26_3 260300 |
| 264 | #define __WATCHOS_26_4 260400 |
| 265 | #define __WATCHOS_26_5 260500 |
| 266 | /* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 267 | |
| 268 | #define __TVOS_9_0 90000 |
| 269 | #define __TVOS_9_1 90100 |
| 270 | #define __TVOS_9_2 90200 |
| 271 | #define __TVOS_10_0 100000 |
| 272 | #define __TVOS_10_0_1 100001 |
| 273 | #define __TVOS_10_1 100100 |
| 274 | #define __TVOS_10_2 100200 |
| 275 | #define __TVOS_11_0 110000 |
| 276 | #define __TVOS_11_1 110100 |
| 277 | #define __TVOS_11_2 110200 |
| 278 | #define __TVOS_11_3 110300 |
| 279 | #define __TVOS_11_4 110400 |
| 280 | #define __TVOS_12_0 120000 |
| 281 | #define __TVOS_12_1 120100 |
| 282 | #define __TVOS_12_2 120200 |
| 283 | #define __TVOS_12_3 120300 |
| 284 | #define __TVOS_12_4 120400 |
| 285 | #define __TVOS_13_0 130000 |
| 286 | #define __TVOS_13_2 130200 |
| 287 | #define __TVOS_13_3 130300 |
| 288 | #define __TVOS_13_4 130400 |
| 289 | #define __TVOS_14_0 140000 |
| 290 | #define __TVOS_14_1 140100 |
| 291 | #define __TVOS_14_2 140200 |
| 292 | #define __TVOS_14_3 140300 |
| 293 | #define __TVOS_14_5 140500 |
| 294 | #define __TVOS_14_6 140600 |
| 295 | #define __TVOS_14_7 140700 |
| 296 | #define __TVOS_15_0 150000 |
| 297 | #define __TVOS_15_1 150100 |
| 298 | #define __TVOS_15_2 150200 |
| 299 | #define __TVOS_15_3 150300 |
| 300 | #define __TVOS_15_4 150400 |
| 301 | #define __TVOS_15_5 150500 |
| 302 | #define __TVOS_15_6 150600 |
| 303 | #define __TVOS_16_0 160000 |
| 304 | #define __TVOS_16_1 160100 |
| 305 | #define __TVOS_16_2 160200 |
| 306 | #define __TVOS_16_3 160300 |
| 307 | #define __TVOS_16_4 160400 |
| 308 | #define __TVOS_16_5 160500 |
| 309 | #define __TVOS_16_6 160600 |
| 310 | #define __TVOS_17_0 170000 |
| 311 | #define __TVOS_17_1 170100 |
| 312 | #define __TVOS_17_2 170200 |
| 313 | #define __TVOS_17_3 170300 |
| 314 | #define __TVOS_17_4 170400 |
| 315 | #define __TVOS_17_5 170500 |
| 316 | #define __TVOS_17_6 170600 |
| 317 | #define __TVOS_18_0 180000 |
| 318 | #define __TVOS_18_1 180100 |
| 319 | #define __TVOS_18_2 180200 |
| 320 | #define __TVOS_18_3 180300 |
| 321 | #define __TVOS_18_4 180400 |
| 322 | #define __TVOS_18_5 180500 |
| 323 | #define __TVOS_18_6 180600 |
| 324 | #define __TVOS_19_0 190000 |
| 325 | #define __TVOS_26_0 260000 |
| 326 | #define __TVOS_26_1 260100 |
| 327 | #define __TVOS_26_2 260200 |
| 328 | #define __TVOS_26_3 260300 |
| 329 | #define __TVOS_26_4 260400 |
| 330 | #define __TVOS_26_5 260500 |
| 331 | /* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 332 | |
| 333 | #define __BRIDGEOS_2_0 20000 |
| 334 | #define __BRIDGEOS_3_0 30000 |
| 335 | #define __BRIDGEOS_3_1 30100 |
| 336 | #define __BRIDGEOS_3_4 30400 |
| 337 | #define __BRIDGEOS_4_0 40000 |
| 338 | #define __BRIDGEOS_4_1 40100 |
| 339 | #define __BRIDGEOS_5_0 50000 |
| 340 | #define __BRIDGEOS_5_1 50100 |
| 341 | #define __BRIDGEOS_5_3 50300 |
| 342 | #define __BRIDGEOS_6_0 60000 |
| 343 | #define __BRIDGEOS_6_2 60200 |
| 344 | #define __BRIDGEOS_6_4 60400 |
| 345 | #define __BRIDGEOS_6_5 60500 |
| 346 | #define __BRIDGEOS_6_6 60600 |
| 347 | #define __BRIDGEOS_7_0 70000 |
| 348 | #define __BRIDGEOS_7_1 70100 |
| 349 | #define __BRIDGEOS_7_2 70200 |
| 350 | #define __BRIDGEOS_7_3 70300 |
| 351 | #define __BRIDGEOS_7_4 70400 |
| 352 | #define __BRIDGEOS_7_6 70600 |
| 353 | #define __BRIDGEOS_8_0 80000 |
| 354 | #define __BRIDGEOS_8_1 80100 |
| 355 | #define __BRIDGEOS_8_2 80200 |
| 356 | #define __BRIDGEOS_8_3 80300 |
| 357 | #define __BRIDGEOS_8_4 80400 |
| 358 | #define __BRIDGEOS_8_5 80500 |
| 359 | #define __BRIDGEOS_8_6 80600 |
| 360 | #define __BRIDGEOS_9_0 90000 |
| 361 | #define __BRIDGEOS_9_1 90100 |
| 362 | #define __BRIDGEOS_9_2 90200 |
| 363 | #define __BRIDGEOS_9_3 90300 |
| 364 | #define __BRIDGEOS_9_4 90400 |
| 365 | #define __BRIDGEOS_9_5 90500 |
| 366 | #define __BRIDGEOS_9_6 90600 |
| 367 | #define __BRIDGEOS_10_0 100000 |
| 368 | #define __BRIDGEOS_10_1 100100 |
| 369 | #define __BRIDGEOS_10_2 100200 |
| 370 | #define __BRIDGEOS_10_3 100300 |
| 371 | #define __BRIDGEOS_10_4 100400 |
| 372 | #define __BRIDGEOS_26_5 260500 |
| 373 | |
| 374 | |
| 375 | #define __DRIVERKIT_19_0 190000 |
| 376 | #define __DRIVERKIT_20_0 200000 |
| 377 | #define __DRIVERKIT_21_0 210000 |
| 378 | #define __DRIVERKIT_22_0 220000 |
| 379 | #define __DRIVERKIT_22_4 220400 |
| 380 | #define __DRIVERKIT_22_5 220500 |
| 381 | #define __DRIVERKIT_22_6 220600 |
| 382 | #define __DRIVERKIT_23_0 230000 |
| 383 | #define __DRIVERKIT_23_1 230100 |
| 384 | #define __DRIVERKIT_23_2 230200 |
| 385 | #define __DRIVERKIT_23_3 230300 |
| 386 | #define __DRIVERKIT_23_4 230400 |
| 387 | #define __DRIVERKIT_23_5 230500 |
| 388 | #define __DRIVERKIT_23_6 230600 |
| 389 | #define __DRIVERKIT_24_0 240000 |
| 390 | #define __DRIVERKIT_24_1 240100 |
| 391 | #define __DRIVERKIT_24_2 240200 |
| 392 | #define __DRIVERKIT_24_3 240300 |
| 393 | #define __DRIVERKIT_24_4 240400 |
| 394 | #define __DRIVERKIT_24_5 240500 |
| 395 | #define __DRIVERKIT_24_6 240600 |
| 396 | #define __DRIVERKIT_25_0 250000 |
| 397 | #define __DRIVERKIT_25_1 250100 |
| 398 | #define __DRIVERKIT_25_2 250200 |
| 399 | #define __DRIVERKIT_25_3 250300 |
| 400 | #define __DRIVERKIT_25_4 250400 |
| 401 | #define __DRIVERKIT_25_5 250500 |
| 402 | /* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 403 | |
| 404 | #define __VISIONOS_1_0 10000 |
| 405 | #define __VISIONOS_1_1 10100 |
| 406 | #define __VISIONOS_1_2 10200 |
| 407 | #define __VISIONOS_1_3 10300 |
| 408 | #define __VISIONOS_2_0 20000 |
| 409 | #define __VISIONOS_2_1 20100 |
| 410 | #define __VISIONOS_2_2 20200 |
| 411 | #define __VISIONOS_2_3 20300 |
| 412 | #define __VISIONOS_2_4 20400 |
| 413 | #define __VISIONOS_2_5 20500 |
| 414 | #define __VISIONOS_2_6 20600 |
| 415 | #define __VISIONOS_3_0 30000 |
| 416 | #define __VISIONOS_26_0 260000 |
| 417 | #define __VISIONOS_26_1 260100 |
| 418 | #define __VISIONOS_26_2 260200 |
| 419 | #define __VISIONOS_26_3 260300 |
| 420 | #define __VISIONOS_26_4 260400 |
| 421 | #define __VISIONOS_26_5 260500 |
| 422 | /* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 423 | |
| 424 | |
| 425 | |
| 426 | /* __KERNELKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 427 | |
| 428 | |
| 429 | #ifndef __OPEN_SOURCE__ |
| 430 | |
| 431 | #endif /* __OPEN_SOURCE__ */ |
| 432 | |
| 433 | /* |
| 434 | * Set up standard Mac OS X versions |
| 435 | */ |
| 436 | |
| 437 | #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) |
| 438 | |
| 439 | #define MAC_OS_X_VERSION_10_0 __MAC_10_0 |
| 440 | #define MAC_OS_X_VERSION_10_1 __MAC_10_1 |
| 441 | #define MAC_OS_X_VERSION_10_2 __MAC_10_2 |
| 442 | #define MAC_OS_X_VERSION_10_3 __MAC_10_3 |
| 443 | #define MAC_OS_X_VERSION_10_4 __MAC_10_4 |
| 444 | #define MAC_OS_X_VERSION_10_5 __MAC_10_5 |
| 445 | #define MAC_OS_X_VERSION_10_6 __MAC_10_6 |
| 446 | #define MAC_OS_X_VERSION_10_7 __MAC_10_7 |
| 447 | #define MAC_OS_X_VERSION_10_8 __MAC_10_8 |
| 448 | #define MAC_OS_X_VERSION_10_9 __MAC_10_9 |
| 449 | #define MAC_OS_X_VERSION_10_10 __MAC_10_10 |
| 450 | #define MAC_OS_X_VERSION_10_10_2 __MAC_10_10_2 |
| 451 | #define MAC_OS_X_VERSION_10_10_3 __MAC_10_10_3 |
| 452 | #define MAC_OS_X_VERSION_10_11 __MAC_10_11 |
| 453 | #define MAC_OS_X_VERSION_10_11_2 __MAC_10_11_2 |
| 454 | #define MAC_OS_X_VERSION_10_11_3 __MAC_10_11_3 |
| 455 | #define MAC_OS_X_VERSION_10_11_4 __MAC_10_11_4 |
| 456 | #define MAC_OS_X_VERSION_10_12 __MAC_10_12 |
| 457 | #define MAC_OS_X_VERSION_10_12_1 __MAC_10_12_1 |
| 458 | #define MAC_OS_X_VERSION_10_12_2 __MAC_10_12_2 |
| 459 | #define MAC_OS_X_VERSION_10_12_4 __MAC_10_12_4 |
| 460 | #define MAC_OS_X_VERSION_10_13 __MAC_10_13 |
| 461 | #define MAC_OS_X_VERSION_10_13_1 __MAC_10_13_1 |
| 462 | #define MAC_OS_X_VERSION_10_13_2 __MAC_10_13_2 |
| 463 | #define MAC_OS_X_VERSION_10_13_4 __MAC_10_13_4 |
| 464 | #define MAC_OS_X_VERSION_10_14 __MAC_10_14 |
| 465 | #define MAC_OS_X_VERSION_10_14_1 __MAC_10_14_1 |
| 466 | #define MAC_OS_X_VERSION_10_14_4 __MAC_10_14_4 |
| 467 | #define MAC_OS_X_VERSION_10_14_5 __MAC_10_14_5 |
| 468 | #define MAC_OS_X_VERSION_10_14_6 __MAC_10_14_6 |
| 469 | #define MAC_OS_X_VERSION_10_15 __MAC_10_15 |
| 470 | #define MAC_OS_X_VERSION_10_15_1 __MAC_10_15_1 |
| 471 | #define MAC_OS_X_VERSION_10_15_4 __MAC_10_15_4 |
| 472 | #define MAC_OS_X_VERSION_10_16 __MAC_10_16 |
| 473 | #define MAC_OS_VERSION_11_0 __MAC_11_0 |
| 474 | #define MAC_OS_VERSION_11_1 __MAC_11_1 |
| 475 | #define MAC_OS_VERSION_11_3 __MAC_11_3 |
| 476 | #define MAC_OS_VERSION_11_4 __MAC_11_4 |
| 477 | #define MAC_OS_VERSION_11_5 __MAC_11_5 |
| 478 | #define MAC_OS_VERSION_11_6 __MAC_11_6 |
| 479 | #define MAC_OS_VERSION_12_0 __MAC_12_0 |
| 480 | #define MAC_OS_VERSION_12_1 __MAC_12_1 |
| 481 | #define MAC_OS_VERSION_12_2 __MAC_12_2 |
| 482 | #define MAC_OS_VERSION_12_3 __MAC_12_3 |
| 483 | #define MAC_OS_VERSION_12_4 __MAC_12_4 |
| 484 | #define MAC_OS_VERSION_12_5 __MAC_12_5 |
| 485 | #define MAC_OS_VERSION_12_6 __MAC_12_6 |
| 486 | #define MAC_OS_VERSION_12_7 __MAC_12_7 |
| 487 | #define MAC_OS_VERSION_13_0 __MAC_13_0 |
| 488 | #define MAC_OS_VERSION_13_1 __MAC_13_1 |
| 489 | #define MAC_OS_VERSION_13_2 __MAC_13_2 |
| 490 | #define MAC_OS_VERSION_13_3 __MAC_13_3 |
| 491 | #define MAC_OS_VERSION_13_4 __MAC_13_4 |
| 492 | #define MAC_OS_VERSION_13_5 __MAC_13_5 |
| 493 | #define MAC_OS_VERSION_13_6 __MAC_13_6 |
| 494 | #define MAC_OS_VERSION_13_7 __MAC_13_7 |
| 495 | #define MAC_OS_VERSION_14_0 __MAC_14_0 |
| 496 | #define MAC_OS_VERSION_14_1 __MAC_14_1 |
| 497 | #define MAC_OS_VERSION_14_2 __MAC_14_2 |
| 498 | #define MAC_OS_VERSION_14_3 __MAC_14_3 |
| 499 | #define MAC_OS_VERSION_14_4 __MAC_14_4 |
| 500 | #define MAC_OS_VERSION_14_5 __MAC_14_5 |
| 501 | #define MAC_OS_VERSION_14_6 __MAC_14_6 |
| 502 | #define MAC_OS_VERSION_14_7 __MAC_14_7 |
| 503 | #define MAC_OS_VERSION_15_0 __MAC_15_0 |
| 504 | #define MAC_OS_VERSION_15_1 __MAC_15_1 |
| 505 | #define MAC_OS_VERSION_15_2 __MAC_15_2 |
| 506 | #define MAC_OS_VERSION_15_3 __MAC_15_3 |
| 507 | #define MAC_OS_VERSION_15_4 __MAC_15_4 |
| 508 | #define MAC_OS_VERSION_15_5 __MAC_15_5 |
| 509 | #define MAC_OS_VERSION_15_6 __MAC_15_6 |
| 510 | #define MAC_OS_VERSION_16_0 __MAC_16_0 |
| 511 | #define MAC_OS_VERSION_26_0 __MAC_26_0 |
| 512 | #define MAC_OS_VERSION_26_1 __MAC_26_1 |
| 513 | #define MAC_OS_VERSION_26_2 __MAC_26_2 |
| 514 | #define MAC_OS_VERSION_26_3 __MAC_26_3 |
| 515 | #define MAC_OS_VERSION_26_4 __MAC_26_4 |
| 516 | #define MAC_OS_VERSION_26_5 __MAC_26_5 |
| 517 | |
| 518 | #endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */ |
| 519 | |
| 520 | #endif /* __AVAILABILITY_VERSIONS__ */ |
| 521 | |
| 522 | #ifndef __OPEN_SOURCE__ |
| 523 | // This is explicitly outside the header guard |
| 524 | #ifndef __AVAILABILITY_VERSIONS_VERSION_HASH |
| 525 | #define __AVAILABILITY_VERSIONS_VERSION_HASH 93585900U |
| 526 | #define __AVAILABILITY_VERSIONS_VERSION_STRING "Local" |
| 527 | #define __AVAILABILITY_FILE "AvailabilityVersions.h" |
| 528 | #elif __AVAILABILITY_VERSIONS_VERSION_HASH != 93585900U |
| 529 | #pragma GCC error "Already found AvailabilityVersions version " __AVAILABILITY_FILE " from " __AVAILABILITY_VERSIONS_VERSION_STRING ", which is incompatible with AvailabilityVersions.h from Local. Mixing and matching Availability from different SDKs is not supported" |
| 530 | #endif /* __AVAILABILITY_VERSIONS_VERSION_HASH */ |
| 531 | #endif /* __OPEN_SOURCE__ */ |