]>
Commit | Line | Data |
---|---|---|
6d2010ae A |
1 | /* |
2 | * Copyright (c) 2001-2010 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 | /* | |
25 | File: AvailabilityMacros.h | |
26 | ||
813fb2f6 | 27 | More Info: See the SDK Compatibility Guide |
6d2010ae A |
28 | |
29 | Contains: Autoconfiguration of AVAILABLE_ macros for Mac OS X | |
30 | ||
31 | This header enables a developer to specify build time | |
32 | constraints on what Mac OS X versions the resulting | |
33 | application will be run. There are two bounds a developer | |
34 | can specify: | |
35 | ||
36 | MAC_OS_X_VERSION_MIN_REQUIRED | |
37 | MAC_OS_X_VERSION_MAX_ALLOWED | |
38 | ||
39 | The lower bound controls which calls to OS functions will | |
40 | be weak-importing (allowed to be unresolved at launch time). | |
41 | The upper bound controls which OS functionality, if used, | |
42 | will result in a compiler error because that functionality is | |
43 | not available on on any OS is the specifed range. | |
44 | ||
45 | For example, suppose an application is compiled with: | |
46 | ||
47 | MAC_OS_X_VERSION_MIN_REQUIRED = MAC_OS_X_VERSION_10_2 | |
48 | MAC_OS_X_VERSION_MAX_ALLOWED = MAC_OS_X_VERSION_10_3 | |
49 | ||
50 | and an OS header contains: | |
51 | ||
52 | extern void funcA(void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER; | |
53 | extern void funcB(void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2; | |
54 | extern void funcC(void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3; | |
55 | extern void funcD(void) AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER; | |
56 | extern void funcE(void) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER; | |
57 | extern void funcF(void) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; | |
58 | extern void funcG(void) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER; | |
59 | ||
60 | typedef long TypeA DEPRECATED_IN_MAC_OS_X_VERSION_10_0_AND_LATER; | |
61 | typedef long TypeB DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER; | |
62 | typedef long TypeC DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER; | |
63 | typedef long TypeD DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER; | |
64 | typedef long TypeE DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER; | |
65 | ||
66 | Any application code which uses these declarations will get the following: | |
67 | ||
68 | compile link run | |
69 | ------- ------ ------- | |
70 | funcA: normal normal normal | |
71 | funcB: warning normal normal | |
72 | funcC: normal normal normal | |
73 | funcD: normal normal normal | |
74 | funcE: normal normal normal | |
75 | funcF: normal weak on 10.3 normal, on 10.2 (&funcF == NULL) | |
76 | funcG: error error n/a | |
77 | typeA: warning | |
78 | typeB: warning | |
79 | typeC: warning | |
80 | typeD: normal | |
81 | typeE: normal | |
82 | ||
83 | ||
84 | */ | |
85 | #ifndef __AVAILABILITYMACROS__ | |
86 | #define __AVAILABILITYMACROS__ | |
87 | ||
88 | ||
89 | /* | |
90 | * Set up standard Mac OS X versions | |
91 | */ | |
fe8ab488 A |
92 | #define MAC_OS_X_VERSION_10_0 1000 |
93 | #define MAC_OS_X_VERSION_10_1 1010 | |
94 | #define MAC_OS_X_VERSION_10_2 1020 | |
95 | #define MAC_OS_X_VERSION_10_3 1030 | |
96 | #define MAC_OS_X_VERSION_10_4 1040 | |
97 | #define MAC_OS_X_VERSION_10_5 1050 | |
98 | #define MAC_OS_X_VERSION_10_6 1060 | |
99 | #define MAC_OS_X_VERSION_10_7 1070 | |
100 | #define MAC_OS_X_VERSION_10_8 1080 | |
101 | #define MAC_OS_X_VERSION_10_9 1090 | |
102 | #define MAC_OS_X_VERSION_10_10 101000 | |
3e170ce0 A |
103 | #define MAC_OS_X_VERSION_10_10_2 101002 |
104 | #define MAC_OS_X_VERSION_10_10_3 101003 | |
105 | #define MAC_OS_X_VERSION_10_11 101100 | |
813fb2f6 A |
106 | #define MAC_OS_X_VERSION_10_11_2 101102 |
107 | #define MAC_OS_X_VERSION_10_11_3 101103 | |
108 | #define MAC_OS_X_VERSION_10_11_4 101104 | |
39037602 | 109 | #define MAC_OS_X_VERSION_10_12 101200 |
813fb2f6 A |
110 | #define MAC_OS_X_VERSION_10_12_1 101201 |
111 | #define MAC_OS_X_VERSION_10_12_2 101202 | |
112 | #define MAC_OS_X_VERSION_10_12_4 101204 | |
6d2010ae A |
113 | |
114 | /* | |
3e170ce0 A |
115 | * If min OS not specified, assume 10.4 for intel |
116 | * Note: compiler driver may set _ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED_ based on MACOSX_DEPLOYMENT_TARGET environment variable | |
6d2010ae A |
117 | */ |
118 | #ifndef MAC_OS_X_VERSION_MIN_REQUIRED | |
119 | #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ | |
120 | #if (__i386__ || __x86_64__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < MAC_OS_X_VERSION_10_4) | |
121 | #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid. | |
6d2010ae A |
122 | #endif |
123 | #define MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ | |
124 | #else | |
3e170ce0 | 125 | #if __i386__ || __x86_64__ |
6d2010ae | 126 | #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_4 |
5ba3f43e A |
127 | #elif __arm__ || __arm64__ |
128 | #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_5 | |
6d2010ae A |
129 | #else |
130 | #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_1 | |
131 | #endif | |
3e170ce0 | 132 | #endif |
6d2010ae A |
133 | #endif |
134 | ||
135 | /* | |
813fb2f6 | 136 | * if max OS not specified, assume larger of (10.12.4, min) |
6d2010ae A |
137 | */ |
138 | #ifndef MAC_OS_X_VERSION_MAX_ALLOWED | |
813fb2f6 | 139 | #if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_12_4 |
6d2010ae A |
140 | #define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_MIN_REQUIRED |
141 | #else | |
813fb2f6 | 142 | #define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_12_4 |
6d2010ae A |
143 | #endif |
144 | #endif | |
145 | ||
146 | /* | |
147 | * Error on bad values | |
148 | */ | |
149 | #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_MIN_REQUIRED | |
150 | #error MAC_OS_X_VERSION_MAX_ALLOWED must be >= MAC_OS_X_VERSION_MIN_REQUIRED | |
151 | #endif | |
152 | #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_0 | |
153 | #error MAC_OS_X_VERSION_MIN_REQUIRED must be >= MAC_OS_X_VERSION_10_0 | |
154 | #endif | |
155 | ||
156 | /* | |
157 | * only certain compilers support __attribute__((weak_import)) | |
158 | */ | |
159 | #if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1020) | |
160 | #define WEAK_IMPORT_ATTRIBUTE __attribute__((weak_import)) | |
161 | #elif defined(__MWERKS__) && (__MWERKS__ >= 0x3205) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1020) && !defined(__INTEL__) | |
162 | #define WEAK_IMPORT_ATTRIBUTE __attribute__((weak_import)) | |
163 | #else | |
164 | #define WEAK_IMPORT_ATTRIBUTE | |
165 | #endif | |
166 | ||
167 | /* | |
168 | * only certain compilers support __attribute__((deprecated)) | |
169 | */ | |
39236c6e A |
170 | #if defined(__has_feature) && defined(__has_attribute) |
171 | #if __has_attribute(deprecated) | |
172 | #define DEPRECATED_ATTRIBUTE __attribute__((deprecated)) | |
173 | #if __has_feature(attribute_deprecated_with_message) | |
174 | #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s))) | |
175 | #else | |
176 | #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated)) | |
177 | #endif | |
178 | #else | |
179 | #define DEPRECATED_ATTRIBUTE | |
180 | #define DEPRECATED_MSG_ATTRIBUTE(s) | |
181 | #endif | |
182 | #elif defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) | |
183 | #define DEPRECATED_ATTRIBUTE __attribute__((deprecated)) | |
184 | #if (__GNUC__ >= 5) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) | |
185 | #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s))) | |
186 | #else | |
187 | #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated)) | |
188 | #endif | |
6d2010ae A |
189 | #else |
190 | #define DEPRECATED_ATTRIBUTE | |
39236c6e | 191 | #define DEPRECATED_MSG_ATTRIBUTE(s) |
6d2010ae A |
192 | #endif |
193 | ||
194 | /* | |
195 | * only certain compilers support __attribute__((unavailable)) | |
196 | */ | |
197 | #if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) | |
198 | #define UNAVAILABLE_ATTRIBUTE __attribute__((unavailable)) | |
199 | #else | |
200 | #define UNAVAILABLE_ATTRIBUTE | |
201 | #endif | |
202 | ||
203 | ||
6d2010ae A |
204 | /* |
205 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
206 | * | |
207 | * Used on functions introduced in Mac OS X 10.0 | |
208 | */ | |
209 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
210 | ||
211 | /* | |
212 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED | |
213 | * | |
214 | * Used on functions introduced in Mac OS X 10.0, | |
215 | * and deprecated in Mac OS X 10.0 | |
216 | */ | |
217 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
218 | ||
219 | /* | |
220 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_0_AND_LATER | |
221 | * | |
222 | * Used on types deprecated in Mac OS X 10.0 | |
223 | */ | |
224 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_0_AND_LATER DEPRECATED_ATTRIBUTE | |
225 | ||
39236c6e A |
226 | #ifndef __AVAILABILITY_MACROS_USES_AVAILABILITY |
227 | #ifdef __has_attribute | |
228 | #if __has_attribute(availability) | |
229 | #include <Availability.h> | |
230 | #define __AVAILABILITY_MACROS_USES_AVAILABILITY 1 | |
231 | #endif | |
232 | #endif | |
233 | #endif | |
234 | ||
6d2010ae A |
235 | /* |
236 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
237 | * | |
238 | * Used on declarations introduced in Mac OS X 10.1 | |
239 | */ | |
39236c6e | 240 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 241 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_1, __IPHONE_4_0) |
39236c6e | 242 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_1 |
6d2010ae A |
243 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER UNAVAILABLE_ATTRIBUTE |
244 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_1 | |
245 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
246 | #else | |
247 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
248 | #endif | |
249 | ||
250 | /* | |
251 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED | |
316670eb A |
252 | * |
253 | * Used on declarations introduced in Mac OS X 10.1, | |
6d2010ae A |
254 | * and deprecated in Mac OS X 10.1 |
255 | */ | |
39236c6e | 256 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 257 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_1, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 258 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_1 |
6d2010ae A |
259 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE |
260 | #else | |
261 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
262 | #endif | |
263 | ||
264 | /* | |
265 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1 | |
316670eb A |
266 | * |
267 | * Used on declarations introduced in Mac OS X 10.0, | |
6d2010ae A |
268 | * but later deprecated in Mac OS X 10.1 |
269 | */ | |
39236c6e | 270 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 271 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_1, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 272 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_1 |
6d2010ae A |
273 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1 DEPRECATED_ATTRIBUTE |
274 | #else | |
275 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
276 | #endif | |
277 | ||
278 | /* | |
279 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER | |
316670eb A |
280 | * |
281 | * Used on types deprecated in Mac OS X 10.1 | |
6d2010ae | 282 | */ |
39236c6e | 283 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 284 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_1, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 285 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_1 |
6d2010ae A |
286 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER DEPRECATED_ATTRIBUTE |
287 | #else | |
288 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER | |
289 | #endif | |
290 | ||
291 | ||
6d2010ae A |
292 | /* |
293 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
294 | * | |
295 | * Used on declarations introduced in Mac OS X 10.2 | |
296 | */ | |
39236c6e | 297 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 298 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_4_0) |
39236c6e | 299 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_2 |
6d2010ae A |
300 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER UNAVAILABLE_ATTRIBUTE |
301 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_2 | |
302 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
303 | #else | |
304 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
305 | #endif | |
306 | ||
307 | /* | |
308 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED | |
316670eb A |
309 | * |
310 | * Used on declarations introduced in Mac OS X 10.2, | |
6d2010ae A |
311 | * and deprecated in Mac OS X 10.2 |
312 | */ | |
39236c6e | 313 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 314 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_2, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 315 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_2 |
6d2010ae A |
316 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE |
317 | #else | |
318 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
319 | #endif | |
320 | ||
321 | /* | |
322 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 | |
316670eb A |
323 | * |
324 | * Used on declarations introduced in Mac OS X 10.0, | |
6d2010ae A |
325 | * but later deprecated in Mac OS X 10.2 |
326 | */ | |
39236c6e | 327 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 328 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_2, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 329 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_2 |
6d2010ae A |
330 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 DEPRECATED_ATTRIBUTE |
331 | #else | |
332 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
333 | #endif | |
334 | ||
335 | /* | |
336 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 | |
316670eb A |
337 | * |
338 | * Used on declarations introduced in Mac OS X 10.1, | |
6d2010ae A |
339 | * but later deprecated in Mac OS X 10.2 |
340 | */ | |
39236c6e | 341 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 342 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_2, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 343 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_2 |
6d2010ae A |
344 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 DEPRECATED_ATTRIBUTE |
345 | #else | |
346 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
347 | #endif | |
348 | ||
349 | /* | |
350 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER | |
316670eb A |
351 | * |
352 | * Used on types deprecated in Mac OS X 10.2 | |
6d2010ae | 353 | */ |
39236c6e | 354 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 355 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_2, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 356 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_2 |
6d2010ae A |
357 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER DEPRECATED_ATTRIBUTE |
358 | #else | |
359 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER | |
360 | #endif | |
361 | ||
362 | ||
6d2010ae A |
363 | /* |
364 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
365 | * | |
366 | * Used on declarations introduced in Mac OS X 10.3 | |
367 | */ | |
39236c6e | 368 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 369 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_4_0) |
39236c6e | 370 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_3 |
6d2010ae A |
371 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER UNAVAILABLE_ATTRIBUTE |
372 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_3 | |
373 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
374 | #else | |
375 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
376 | #endif | |
377 | ||
378 | /* | |
379 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED | |
316670eb A |
380 | * |
381 | * Used on declarations introduced in Mac OS X 10.3, | |
6d2010ae A |
382 | * and deprecated in Mac OS X 10.3 |
383 | */ | |
39236c6e | 384 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 385 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_3, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 386 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 |
6d2010ae A |
387 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE |
388 | #else | |
389 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
390 | #endif | |
391 | ||
392 | /* | |
393 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 | |
316670eb A |
394 | * |
395 | * Used on declarations introduced in Mac OS X 10.0, | |
6d2010ae A |
396 | * but later deprecated in Mac OS X 10.3 |
397 | */ | |
39236c6e | 398 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 399 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_3, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 400 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 |
6d2010ae A |
401 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE |
402 | #else | |
403 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
404 | #endif | |
405 | ||
406 | /* | |
407 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 | |
316670eb A |
408 | * |
409 | * Used on declarations introduced in Mac OS X 10.1, | |
6d2010ae A |
410 | * but later deprecated in Mac OS X 10.3 |
411 | */ | |
39236c6e | 412 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 413 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_3, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 414 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 |
6d2010ae A |
415 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE |
416 | #else | |
417 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
418 | #endif | |
419 | ||
420 | /* | |
421 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 | |
316670eb A |
422 | * |
423 | * Used on declarations introduced in Mac OS X 10.2, | |
6d2010ae A |
424 | * but later deprecated in Mac OS X 10.3 |
425 | */ | |
39236c6e | 426 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 427 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_3, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 428 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 |
6d2010ae A |
429 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE |
430 | #else | |
431 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
432 | #endif | |
433 | ||
434 | /* | |
435 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER | |
316670eb A |
436 | * |
437 | * Used on types deprecated in Mac OS X 10.3 | |
6d2010ae | 438 | */ |
39236c6e | 439 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 440 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_3, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 441 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 |
6d2010ae A |
442 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER DEPRECATED_ATTRIBUTE |
443 | #else | |
444 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER | |
445 | #endif | |
446 | ||
447 | ||
6d2010ae A |
448 | /* |
449 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
450 | * | |
451 | * Used on declarations introduced in Mac OS X 10.4 | |
452 | */ | |
39236c6e | 453 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 454 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_4, __IPHONE_4_0) |
39236c6e | 455 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4 |
6d2010ae A |
456 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER UNAVAILABLE_ATTRIBUTE |
457 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4 | |
458 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
459 | #else | |
460 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
461 | #endif | |
462 | ||
463 | /* | |
464 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED | |
316670eb A |
465 | * |
466 | * Used on declarations introduced in Mac OS X 10.4, | |
6d2010ae A |
467 | * and deprecated in Mac OS X 10.4 |
468 | */ | |
39236c6e | 469 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 470 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_4, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 471 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 |
6d2010ae A |
472 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE |
473 | #else | |
474 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
475 | #endif | |
476 | ||
477 | /* | |
478 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 | |
316670eb A |
479 | * |
480 | * Used on declarations introduced in Mac OS X 10.0, | |
6d2010ae A |
481 | * but later deprecated in Mac OS X 10.4 |
482 | */ | |
39236c6e | 483 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 484 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_4, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 485 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 |
6d2010ae A |
486 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE |
487 | #else | |
488 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
489 | #endif | |
490 | ||
491 | /* | |
492 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 | |
316670eb A |
493 | * |
494 | * Used on declarations introduced in Mac OS X 10.1, | |
6d2010ae A |
495 | * but later deprecated in Mac OS X 10.4 |
496 | */ | |
39236c6e | 497 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 498 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_4, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 499 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 |
6d2010ae A |
500 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE |
501 | #else | |
502 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
503 | #endif | |
504 | ||
505 | /* | |
506 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 | |
316670eb A |
507 | * |
508 | * Used on declarations introduced in Mac OS X 10.2, | |
6d2010ae A |
509 | * but later deprecated in Mac OS X 10.4 |
510 | */ | |
39236c6e | 511 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 512 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_4, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 513 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 |
6d2010ae A |
514 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE |
515 | #else | |
516 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
517 | #endif | |
518 | ||
519 | /* | |
520 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 | |
316670eb A |
521 | * |
522 | * Used on declarations introduced in Mac OS X 10.3, | |
6d2010ae A |
523 | * but later deprecated in Mac OS X 10.4 |
524 | */ | |
39236c6e | 525 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 526 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_4, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 527 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 |
6d2010ae A |
528 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE |
529 | #else | |
530 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
531 | #endif | |
532 | ||
533 | /* | |
534 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER | |
316670eb A |
535 | * |
536 | * Used on types deprecated in Mac OS X 10.4 | |
6d2010ae | 537 | */ |
39236c6e | 538 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 539 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_4, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 540 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 |
6d2010ae A |
541 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER DEPRECATED_ATTRIBUTE |
542 | #else | |
543 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER | |
544 | #endif | |
545 | ||
546 | ||
6d2010ae A |
547 | /* |
548 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
549 | * | |
550 | * Used on declarations introduced in Mac OS X 10.5 | |
551 | */ | |
39236c6e | 552 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 553 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_4_0) |
39236c6e | 554 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5 |
6d2010ae A |
555 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER UNAVAILABLE_ATTRIBUTE |
556 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 | |
557 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
558 | #else | |
559 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
560 | #endif | |
561 | ||
562 | /* | |
563 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED | |
316670eb A |
564 | * |
565 | * Used on declarations introduced in Mac OS X 10.5, | |
6d2010ae A |
566 | * and deprecated in Mac OS X 10.5 |
567 | */ | |
39236c6e | 568 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 569 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_5, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 570 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |
6d2010ae A |
571 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE |
572 | #else | |
573 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
574 | #endif | |
575 | ||
576 | /* | |
577 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 | |
316670eb A |
578 | * |
579 | * Used on declarations introduced in Mac OS X 10.0, | |
6d2010ae A |
580 | * but later deprecated in Mac OS X 10.5 |
581 | */ | |
39236c6e | 582 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 583 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_5, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 584 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |
6d2010ae A |
585 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE |
586 | #else | |
587 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
588 | #endif | |
589 | ||
590 | /* | |
591 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 | |
316670eb A |
592 | * |
593 | * Used on declarations introduced in Mac OS X 10.1, | |
6d2010ae A |
594 | * but later deprecated in Mac OS X 10.5 |
595 | */ | |
39236c6e | 596 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 597 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_5, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 598 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |
6d2010ae A |
599 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE |
600 | #else | |
601 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
602 | #endif | |
603 | ||
604 | /* | |
605 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 | |
316670eb A |
606 | * |
607 | * Used on declarations introduced in Mac OS X 10.2, | |
6d2010ae A |
608 | * but later deprecated in Mac OS X 10.5 |
609 | */ | |
39236c6e | 610 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 611 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_5, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 612 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |
6d2010ae A |
613 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE |
614 | #else | |
615 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
616 | #endif | |
617 | ||
618 | /* | |
619 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 | |
316670eb A |
620 | * |
621 | * Used on declarations introduced in Mac OS X 10.3, | |
6d2010ae A |
622 | * but later deprecated in Mac OS X 10.5 |
623 | */ | |
39236c6e | 624 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 625 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_5, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 626 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |
6d2010ae A |
627 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE |
628 | #else | |
629 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
630 | #endif | |
631 | ||
632 | /* | |
633 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 | |
316670eb A |
634 | * |
635 | * Used on declarations introduced in Mac OS X 10.4, | |
6d2010ae A |
636 | * but later deprecated in Mac OS X 10.5 |
637 | */ | |
39236c6e | 638 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 639 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_5, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 640 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |
6d2010ae A |
641 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE |
642 | #else | |
643 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
644 | #endif | |
645 | ||
646 | /* | |
647 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER | |
316670eb A |
648 | * |
649 | * Used on types deprecated in Mac OS X 10.5 | |
6d2010ae | 650 | */ |
39236c6e | 651 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 652 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_5, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 653 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |
6d2010ae A |
654 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER DEPRECATED_ATTRIBUTE |
655 | #else | |
656 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER | |
657 | #endif | |
658 | ||
659 | ||
6d2010ae A |
660 | /* |
661 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
662 | * | |
663 | * Used on declarations introduced in Mac OS X 10.6 | |
664 | */ | |
39236c6e | 665 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 666 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_4_0) |
39236c6e | 667 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6 |
6d2010ae A |
668 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER UNAVAILABLE_ATTRIBUTE |
669 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6 | |
670 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
671 | #else | |
672 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
673 | #endif | |
674 | ||
675 | /* | |
676 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED | |
316670eb A |
677 | * |
678 | * Used on declarations introduced in Mac OS X 10.6, | |
6d2010ae A |
679 | * and deprecated in Mac OS X 10.6 |
680 | */ | |
39236c6e | 681 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 682 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_6, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 683 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 |
6d2010ae A |
684 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE |
685 | #else | |
686 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
687 | #endif | |
688 | ||
689 | /* | |
690 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 | |
316670eb A |
691 | * |
692 | * Used on declarations introduced in Mac OS X 10.0, | |
6d2010ae A |
693 | * but later deprecated in Mac OS X 10.6 |
694 | */ | |
39236c6e | 695 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 696 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_6, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 697 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 |
6d2010ae A |
698 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 DEPRECATED_ATTRIBUTE |
699 | #else | |
700 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
701 | #endif | |
702 | ||
703 | /* | |
704 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 | |
316670eb A |
705 | * |
706 | * Used on declarations introduced in Mac OS X 10.1, | |
6d2010ae A |
707 | * but later deprecated in Mac OS X 10.6 |
708 | */ | |
39236c6e | 709 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 710 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_6, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 711 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 |
6d2010ae A |
712 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 DEPRECATED_ATTRIBUTE |
713 | #else | |
714 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
715 | #endif | |
716 | ||
717 | /* | |
718 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 | |
316670eb A |
719 | * |
720 | * Used on declarations introduced in Mac OS X 10.2, | |
6d2010ae A |
721 | * but later deprecated in Mac OS X 10.6 |
722 | */ | |
39236c6e | 723 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 724 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_6, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 725 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 |
6d2010ae A |
726 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 DEPRECATED_ATTRIBUTE |
727 | #else | |
728 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
729 | #endif | |
730 | ||
731 | /* | |
732 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 | |
316670eb A |
733 | * |
734 | * Used on declarations introduced in Mac OS X 10.3, | |
6d2010ae A |
735 | * but later deprecated in Mac OS X 10.6 |
736 | */ | |
39236c6e | 737 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 738 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_6, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 739 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 |
6d2010ae A |
740 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 DEPRECATED_ATTRIBUTE |
741 | #else | |
742 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
743 | #endif | |
744 | ||
745 | /* | |
746 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 | |
316670eb A |
747 | * |
748 | * Used on declarations introduced in Mac OS X 10.4, | |
6d2010ae A |
749 | * but later deprecated in Mac OS X 10.6 |
750 | */ | |
39236c6e | 751 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 752 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_6, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 753 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 |
6d2010ae A |
754 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 DEPRECATED_ATTRIBUTE |
755 | #else | |
756 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
757 | #endif | |
758 | ||
759 | /* | |
760 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 | |
316670eb A |
761 | * |
762 | * Used on declarations introduced in Mac OS X 10.5, | |
6d2010ae A |
763 | * but later deprecated in Mac OS X 10.6 |
764 | */ | |
39236c6e | 765 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 766 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 767 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 |
6d2010ae A |
768 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 DEPRECATED_ATTRIBUTE |
769 | #else | |
770 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
771 | #endif | |
772 | ||
773 | /* | |
774 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER | |
316670eb A |
775 | * |
776 | * Used on types deprecated in Mac OS X 10.6 | |
6d2010ae | 777 | */ |
39236c6e | 778 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 779 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_6, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 780 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 |
6d2010ae A |
781 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER DEPRECATED_ATTRIBUTE |
782 | #else | |
783 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER | |
784 | #endif | |
785 | ||
786 | ||
6d2010ae A |
787 | /* |
788 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
789 | * | |
790 | * Used on declarations introduced in Mac OS X 10.7 | |
791 | */ | |
39236c6e | 792 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 793 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_0) |
39236c6e | 794 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
6d2010ae A |
795 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER UNAVAILABLE_ATTRIBUTE |
796 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 | |
797 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
798 | #else | |
799 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
800 | #endif | |
801 | ||
802 | /* | |
803 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED | |
316670eb A |
804 | * |
805 | * Used on declarations introduced in Mac OS X 10.7, | |
6d2010ae A |
806 | * and deprecated in Mac OS X 10.7 |
807 | */ | |
39236c6e | 808 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 809 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 810 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
811 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE |
812 | #else | |
813 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
814 | #endif | |
815 | ||
816 | /* | |
817 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 | |
316670eb A |
818 | * |
819 | * Used on declarations introduced in Mac OS X 10.0, | |
6d2010ae A |
820 | * but later deprecated in Mac OS X 10.7 |
821 | */ | |
39236c6e | 822 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 823 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 824 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
825 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 DEPRECATED_ATTRIBUTE |
826 | #else | |
827 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
828 | #endif | |
829 | ||
830 | /* | |
831 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 | |
316670eb A |
832 | * |
833 | * Used on declarations introduced in Mac OS X 10.1, | |
6d2010ae A |
834 | * but later deprecated in Mac OS X 10.7 |
835 | */ | |
39236c6e | 836 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 837 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 838 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
839 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 DEPRECATED_ATTRIBUTE |
840 | #else | |
841 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
842 | #endif | |
843 | ||
844 | /* | |
845 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 | |
316670eb A |
846 | * |
847 | * Used on declarations introduced in Mac OS X 10.2, | |
6d2010ae A |
848 | * but later deprecated in Mac OS X 10.7 |
849 | */ | |
39236c6e | 850 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 851 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 852 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
853 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 DEPRECATED_ATTRIBUTE |
854 | #else | |
855 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
856 | #endif | |
857 | ||
858 | /* | |
859 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 | |
316670eb A |
860 | * |
861 | * Used on declarations introduced in Mac OS X 10.3, | |
6d2010ae A |
862 | * but later deprecated in Mac OS X 10.7 |
863 | */ | |
39236c6e | 864 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 865 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 866 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
867 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 DEPRECATED_ATTRIBUTE |
868 | #else | |
869 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
870 | #endif | |
871 | ||
872 | /* | |
873 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 | |
316670eb A |
874 | * |
875 | * Used on declarations introduced in Mac OS X 10.4, | |
6d2010ae A |
876 | * but later deprecated in Mac OS X 10.7 |
877 | */ | |
39236c6e | 878 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 879 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 880 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
881 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 DEPRECATED_ATTRIBUTE |
882 | #else | |
883 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
884 | #endif | |
885 | ||
886 | /* | |
887 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 | |
316670eb A |
888 | * |
889 | * Used on declarations introduced in Mac OS X 10.5, | |
6d2010ae A |
890 | * but later deprecated in Mac OS X 10.7 |
891 | */ | |
39236c6e | 892 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 893 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 894 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
895 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 DEPRECATED_ATTRIBUTE |
896 | #else | |
897 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
898 | #endif | |
899 | ||
900 | /* | |
901 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 | |
316670eb A |
902 | * |
903 | * Used on declarations introduced in Mac OS X 10.6, | |
6d2010ae A |
904 | * but later deprecated in Mac OS X 10.7 |
905 | */ | |
39236c6e | 906 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 907 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 908 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
909 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 DEPRECATED_ATTRIBUTE |
910 | #else | |
911 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
912 | #endif | |
913 | ||
914 | /* | |
915 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER | |
316670eb A |
916 | * |
917 | * Used on types deprecated in Mac OS X 10.7 | |
6d2010ae | 918 | */ |
39236c6e | 919 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 920 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 921 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 |
6d2010ae A |
922 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER DEPRECATED_ATTRIBUTE |
923 | #else | |
924 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER | |
925 | #endif | |
926 | ||
316670eb A |
927 | |
928 | /* | |
929 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
930 | * | |
931 | * Used on declarations introduced in Mac OS X 10.8 | |
932 | */ | |
39236c6e | 933 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 934 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_4_0) |
39236c6e | 935 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_8 |
316670eb A |
936 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER UNAVAILABLE_ATTRIBUTE |
937 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8 | |
938 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
939 | #else | |
940 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
941 | #endif | |
942 | ||
943 | /* | |
944 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED | |
945 | * | |
946 | * Used on declarations introduced in Mac OS X 10.8, | |
947 | * and deprecated in Mac OS X 10.8 | |
948 | */ | |
39236c6e | 949 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 950 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 951 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
952 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE |
953 | #else | |
954 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
955 | #endif | |
956 | ||
957 | /* | |
958 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 | |
959 | * | |
960 | * Used on declarations introduced in Mac OS X 10.0, | |
961 | * but later deprecated in Mac OS X 10.8 | |
962 | */ | |
39236c6e | 963 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 964 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 965 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
966 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 DEPRECATED_ATTRIBUTE |
967 | #else | |
968 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
969 | #endif | |
970 | ||
971 | /* | |
972 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 | |
973 | * | |
974 | * Used on declarations introduced in Mac OS X 10.1, | |
975 | * but later deprecated in Mac OS X 10.8 | |
976 | */ | |
39236c6e | 977 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 978 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 979 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
980 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 DEPRECATED_ATTRIBUTE |
981 | #else | |
982 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
983 | #endif | |
984 | ||
985 | /* | |
986 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 | |
987 | * | |
988 | * Used on declarations introduced in Mac OS X 10.2, | |
989 | * but later deprecated in Mac OS X 10.8 | |
990 | */ | |
39236c6e | 991 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 992 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 993 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
994 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 DEPRECATED_ATTRIBUTE |
995 | #else | |
996 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
997 | #endif | |
998 | ||
999 | /* | |
1000 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 | |
1001 | * | |
1002 | * Used on declarations introduced in Mac OS X 10.3, | |
1003 | * but later deprecated in Mac OS X 10.8 | |
1004 | */ | |
39236c6e | 1005 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 1006 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 1007 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
1008 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 DEPRECATED_ATTRIBUTE |
1009 | #else | |
1010 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
1011 | #endif | |
1012 | ||
1013 | /* | |
1014 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 | |
1015 | * | |
1016 | * Used on declarations introduced in Mac OS X 10.4, | |
1017 | * but later deprecated in Mac OS X 10.8 | |
1018 | */ | |
39236c6e | 1019 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 1020 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 1021 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
1022 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 DEPRECATED_ATTRIBUTE |
1023 | #else | |
1024 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
1025 | #endif | |
1026 | ||
1027 | /* | |
1028 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 | |
1029 | * | |
1030 | * Used on declarations introduced in Mac OS X 10.5, | |
1031 | * but later deprecated in Mac OS X 10.8 | |
1032 | */ | |
39236c6e | 1033 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 1034 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 1035 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
1036 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 DEPRECATED_ATTRIBUTE |
1037 | #else | |
1038 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
1039 | #endif | |
1040 | ||
1041 | /* | |
1042 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 | |
1043 | * | |
1044 | * Used on declarations introduced in Mac OS X 10.6, | |
1045 | * but later deprecated in Mac OS X 10.8 | |
1046 | */ | |
39236c6e | 1047 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 1048 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 1049 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
1050 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 DEPRECATED_ATTRIBUTE |
1051 | #else | |
1052 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
1053 | #endif | |
1054 | ||
1055 | /* | |
1056 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 | |
1057 | * | |
1058 | * Used on declarations introduced in Mac OS X 10.7, | |
1059 | * but later deprecated in Mac OS X 10.8 | |
1060 | */ | |
39236c6e | 1061 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 1062 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 1063 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
1064 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 DEPRECATED_ATTRIBUTE |
1065 | #else | |
1066 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
1067 | #endif | |
1068 | ||
1069 | /* | |
1070 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_8_AND_LATER | |
1071 | * | |
1072 | * Used on types deprecated in Mac OS X 10.8 | |
1073 | */ | |
39236c6e | 1074 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY |
39037602 | 1075 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_8_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e | 1076 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 |
316670eb A |
1077 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_8_AND_LATER DEPRECATED_ATTRIBUTE |
1078 | #else | |
1079 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_8_AND_LATER | |
1080 | #endif | |
1081 | ||
1082 | ||
39236c6e A |
1083 | /* |
1084 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
1085 | * | |
1086 | * Used on declarations introduced in Mac OS X 10.9 | |
1087 | */ | |
1088 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1089 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_4_0) |
39236c6e A |
1090 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9 |
1091 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER UNAVAILABLE_ATTRIBUTE | |
1092 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 | |
1093 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
1094 | #else | |
1095 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
1096 | #endif | |
1097 | ||
1098 | /* | |
1099 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED | |
1100 | * | |
1101 | * Used on declarations introduced in Mac OS X 10.9, | |
1102 | * and deprecated in Mac OS X 10.9 | |
1103 | */ | |
1104 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1105 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1106 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1107 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
1108 | #else | |
1109 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
1110 | #endif | |
1111 | ||
1112 | /* | |
1113 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1114 | * | |
1115 | * Used on declarations introduced in Mac OS X 10.0, | |
1116 | * but later deprecated in Mac OS X 10.9 | |
1117 | */ | |
1118 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1119 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1120 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1121 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1122 | #else | |
1123 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
1124 | #endif | |
1125 | ||
1126 | /* | |
1127 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1128 | * | |
1129 | * Used on declarations introduced in Mac OS X 10.1, | |
1130 | * but later deprecated in Mac OS X 10.9 | |
1131 | */ | |
1132 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1133 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1134 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1135 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1136 | #else | |
1137 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
1138 | #endif | |
1139 | ||
1140 | /* | |
1141 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1142 | * | |
1143 | * Used on declarations introduced in Mac OS X 10.2, | |
1144 | * but later deprecated in Mac OS X 10.9 | |
1145 | */ | |
1146 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1147 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1148 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1149 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1150 | #else | |
1151 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
1152 | #endif | |
1153 | ||
1154 | /* | |
1155 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1156 | * | |
1157 | * Used on declarations introduced in Mac OS X 10.3, | |
1158 | * but later deprecated in Mac OS X 10.9 | |
1159 | */ | |
1160 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1161 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1162 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1163 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1164 | #else | |
1165 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
1166 | #endif | |
1167 | ||
1168 | /* | |
1169 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1170 | * | |
1171 | * Used on declarations introduced in Mac OS X 10.4, | |
1172 | * but later deprecated in Mac OS X 10.9 | |
1173 | */ | |
1174 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1175 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1176 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1177 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1178 | #else | |
1179 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
1180 | #endif | |
1181 | ||
1182 | /* | |
1183 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1184 | * | |
1185 | * Used on declarations introduced in Mac OS X 10.5, | |
1186 | * but later deprecated in Mac OS X 10.9 | |
1187 | */ | |
1188 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1189 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1190 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1191 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1192 | #else | |
1193 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
1194 | #endif | |
1195 | ||
1196 | /* | |
1197 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1198 | * | |
1199 | * Used on declarations introduced in Mac OS X 10.6, | |
1200 | * but later deprecated in Mac OS X 10.9 | |
1201 | */ | |
1202 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1203 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1204 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1205 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1206 | #else | |
1207 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
1208 | #endif | |
1209 | ||
1210 | /* | |
1211 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1212 | * | |
1213 | * Used on declarations introduced in Mac OS X 10.7, | |
1214 | * but later deprecated in Mac OS X 10.9 | |
1215 | */ | |
1216 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1217 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1218 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1219 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1220 | #else | |
1221 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
1222 | #endif | |
1223 | ||
1224 | /* | |
1225 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 | |
1226 | * | |
1227 | * Used on declarations introduced in Mac OS X 10.8, | |
1228 | * but later deprecated in Mac OS X 10.9 | |
1229 | */ | |
1230 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1231 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1232 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1233 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 DEPRECATED_ATTRIBUTE | |
1234 | #else | |
1235 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
1236 | #endif | |
1237 | ||
1238 | /* | |
1239 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_9_AND_LATER | |
1240 | * | |
1241 | * Used on types deprecated in Mac OS X 10.9 | |
1242 | */ | |
1243 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1244 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_9_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_4_0, __IPHONE_4_0) |
39236c6e A |
1245 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9 |
1246 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_9_AND_LATER DEPRECATED_ATTRIBUTE | |
1247 | #else | |
1248 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_9_AND_LATER | |
1249 | #endif | |
1250 | ||
1251 | ||
fe8ab488 A |
1252 | /* |
1253 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
1254 | * | |
1255 | * Used on declarations introduced in Mac OS X 10.10 | |
1256 | */ | |
1257 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1258 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_4_0) |
fe8ab488 A |
1259 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 |
1260 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER UNAVAILABLE_ATTRIBUTE | |
1261 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10 | |
1262 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
1263 | #else | |
1264 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
1265 | #endif | |
1266 | ||
1267 | /* | |
1268 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED | |
1269 | * | |
1270 | * Used on declarations introduced in Mac OS X 10.10, | |
1271 | * and deprecated in Mac OS X 10.10 | |
1272 | */ | |
1273 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1274 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1275 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1276 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
1277 | #else | |
1278 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
1279 | #endif | |
1280 | ||
1281 | /* | |
1282 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1283 | * | |
1284 | * Used on declarations introduced in Mac OS X 10.0, | |
1285 | * but later deprecated in Mac OS X 10.10 | |
1286 | */ | |
1287 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1288 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1289 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1290 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1291 | #else | |
1292 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
1293 | #endif | |
1294 | ||
1295 | /* | |
1296 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1297 | * | |
1298 | * Used on declarations introduced in Mac OS X 10.1, | |
1299 | * but later deprecated in Mac OS X 10.10 | |
1300 | */ | |
1301 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1302 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1303 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1304 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1305 | #else | |
1306 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
1307 | #endif | |
1308 | ||
1309 | /* | |
1310 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1311 | * | |
1312 | * Used on declarations introduced in Mac OS X 10.2, | |
1313 | * but later deprecated in Mac OS X 10.10 | |
1314 | */ | |
1315 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1316 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1317 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1318 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1319 | #else | |
1320 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
1321 | #endif | |
1322 | ||
1323 | /* | |
1324 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1325 | * | |
1326 | * Used on declarations introduced in Mac OS X 10.3, | |
1327 | * but later deprecated in Mac OS X 10.10 | |
1328 | */ | |
1329 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1330 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1331 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1332 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1333 | #else | |
1334 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
1335 | #endif | |
1336 | ||
1337 | /* | |
1338 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1339 | * | |
1340 | * Used on declarations introduced in Mac OS X 10.4, | |
1341 | * but later deprecated in Mac OS X 10.10 | |
1342 | */ | |
1343 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1344 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1345 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1346 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1347 | #else | |
1348 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
1349 | #endif | |
1350 | ||
1351 | /* | |
1352 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1353 | * | |
1354 | * Used on declarations introduced in Mac OS X 10.5, | |
1355 | * but later deprecated in Mac OS X 10.10 | |
1356 | */ | |
1357 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1358 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1359 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1360 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1361 | #else | |
1362 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
1363 | #endif | |
1364 | ||
1365 | /* | |
1366 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1367 | * | |
1368 | * Used on declarations introduced in Mac OS X 10.6, | |
1369 | * but later deprecated in Mac OS X 10.10 | |
1370 | */ | |
1371 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1372 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1373 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1374 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1375 | #else | |
1376 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
1377 | #endif | |
1378 | ||
1379 | /* | |
1380 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1381 | * | |
1382 | * Used on declarations introduced in Mac OS X 10.7, | |
1383 | * but later deprecated in Mac OS X 10.10 | |
1384 | */ | |
1385 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1386 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1387 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1388 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1389 | #else | |
1390 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
1391 | #endif | |
1392 | ||
1393 | /* | |
1394 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1395 | * | |
1396 | * Used on declarations introduced in Mac OS X 10.8, | |
1397 | * but later deprecated in Mac OS X 10.10 | |
1398 | */ | |
1399 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1400 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1401 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1402 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1403 | #else | |
1404 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
1405 | #endif | |
1406 | ||
1407 | /* | |
1408 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 | |
1409 | * | |
1410 | * Used on declarations introduced in Mac OS X 10.9, | |
1411 | * but later deprecated in Mac OS X 10.10 | |
1412 | */ | |
1413 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1414 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1415 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1416 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 DEPRECATED_ATTRIBUTE | |
1417 | #else | |
1418 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
1419 | #endif | |
1420 | ||
1421 | /* | |
1422 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_10_AND_LATER | |
1423 | * | |
1424 | * Used on types deprecated in Mac OS X 10.10 | |
1425 | */ | |
1426 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1427 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_10, __IPHONE_4_0, __IPHONE_4_0) |
fe8ab488 A |
1428 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10 |
1429 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_AND_LATER DEPRECATED_ATTRIBUTE | |
1430 | #else | |
1431 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_AND_LATER | |
1432 | #endif | |
1433 | ||
1434 | ||
3e170ce0 A |
1435 | /* |
1436 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
1437 | * | |
1438 | * Used on declarations introduced in Mac OS X 10.10.2 | |
1439 | */ | |
1440 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1441 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_10_2, __IPHONE_4_0) |
3e170ce0 A |
1442 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10_2 |
1443 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER UNAVAILABLE_ATTRIBUTE | |
1444 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10_2 | |
1445 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
1446 | #else | |
1447 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
1448 | #endif | |
1449 | ||
1450 | /* | |
1451 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED | |
1452 | * | |
1453 | * Used on declarations introduced in Mac OS X 10.10.2, | |
1454 | * and deprecated in Mac OS X 10.10.2 | |
1455 | */ | |
1456 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1457 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1458 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1459 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
1460 | #else | |
1461 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
1462 | #endif | |
1463 | ||
1464 | /* | |
1465 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1466 | * | |
1467 | * Used on declarations introduced in Mac OS X 10.0, | |
1468 | * but later deprecated in Mac OS X 10.10.2 | |
1469 | */ | |
1470 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1471 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1472 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1473 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1474 | #else | |
1475 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
1476 | #endif | |
1477 | ||
1478 | /* | |
1479 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1480 | * | |
1481 | * Used on declarations introduced in Mac OS X 10.1, | |
1482 | * but later deprecated in Mac OS X 10.10.2 | |
1483 | */ | |
1484 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1485 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1486 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1487 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1488 | #else | |
1489 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
1490 | #endif | |
1491 | ||
1492 | /* | |
1493 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1494 | * | |
1495 | * Used on declarations introduced in Mac OS X 10.2, | |
1496 | * but later deprecated in Mac OS X 10.10.2 | |
1497 | */ | |
1498 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1499 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1500 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1501 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1502 | #else | |
1503 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
1504 | #endif | |
1505 | ||
1506 | /* | |
1507 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1508 | * | |
1509 | * Used on declarations introduced in Mac OS X 10.3, | |
1510 | * but later deprecated in Mac OS X 10.10.2 | |
1511 | */ | |
1512 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1513 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1514 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1515 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1516 | #else | |
1517 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
1518 | #endif | |
1519 | ||
1520 | /* | |
1521 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1522 | * | |
1523 | * Used on declarations introduced in Mac OS X 10.4, | |
1524 | * but later deprecated in Mac OS X 10.10.2 | |
1525 | */ | |
1526 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1527 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1528 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1529 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1530 | #else | |
1531 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
1532 | #endif | |
1533 | ||
1534 | /* | |
1535 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1536 | * | |
1537 | * Used on declarations introduced in Mac OS X 10.5, | |
1538 | * but later deprecated in Mac OS X 10.10.2 | |
1539 | */ | |
1540 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1541 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1542 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1543 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1544 | #else | |
1545 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
1546 | #endif | |
1547 | ||
1548 | /* | |
1549 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1550 | * | |
1551 | * Used on declarations introduced in Mac OS X 10.6, | |
1552 | * but later deprecated in Mac OS X 10.10.2 | |
1553 | */ | |
1554 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1555 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1556 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1557 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1558 | #else | |
1559 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
1560 | #endif | |
1561 | ||
1562 | /* | |
1563 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1564 | * | |
1565 | * Used on declarations introduced in Mac OS X 10.7, | |
1566 | * but later deprecated in Mac OS X 10.10.2 | |
1567 | */ | |
1568 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1569 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1570 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1571 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1572 | #else | |
1573 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
1574 | #endif | |
1575 | ||
1576 | /* | |
1577 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1578 | * | |
1579 | * Used on declarations introduced in Mac OS X 10.8, | |
1580 | * but later deprecated in Mac OS X 10.10.2 | |
1581 | */ | |
1582 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1583 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1584 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1585 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1586 | #else | |
1587 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
1588 | #endif | |
1589 | ||
1590 | /* | |
1591 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1592 | * | |
1593 | * Used on declarations introduced in Mac OS X 10.9, | |
1594 | * but later deprecated in Mac OS X 10.10.2 | |
1595 | */ | |
1596 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1597 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1598 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1599 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1600 | #else | |
1601 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
1602 | #endif | |
1603 | ||
1604 | /* | |
1605 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 | |
1606 | * | |
1607 | * Used on declarations introduced in Mac OS X 10.10, | |
1608 | * but later deprecated in Mac OS X 10.10.2 | |
1609 | */ | |
1610 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1611 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1612 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1613 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 DEPRECATED_ATTRIBUTE | |
1614 | #else | |
1615 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
1616 | #endif | |
1617 | ||
1618 | /* | |
1619 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
1620 | * | |
1621 | * Used on types deprecated in Mac OS X 10.10.2 | |
1622 | */ | |
1623 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1624 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_10_2, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1625 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_2 |
1626 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2_AND_LATER DEPRECATED_ATTRIBUTE | |
1627 | #else | |
1628 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
1629 | #endif | |
1630 | ||
1631 | ||
1632 | /* | |
1633 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
1634 | * | |
1635 | * Used on declarations introduced in Mac OS X 10.10.3 | |
1636 | */ | |
1637 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1638 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_10_3, __IPHONE_4_0) |
3e170ce0 A |
1639 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10_3 |
1640 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER UNAVAILABLE_ATTRIBUTE | |
1641 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10_3 | |
1642 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
1643 | #else | |
1644 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
1645 | #endif | |
1646 | ||
1647 | /* | |
1648 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED | |
1649 | * | |
1650 | * Used on declarations introduced in Mac OS X 10.10.3, | |
1651 | * and deprecated in Mac OS X 10.10.3 | |
1652 | */ | |
1653 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1654 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1655 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1656 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
1657 | #else | |
1658 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
1659 | #endif | |
1660 | ||
1661 | /* | |
1662 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1663 | * | |
1664 | * Used on declarations introduced in Mac OS X 10.0, | |
1665 | * but later deprecated in Mac OS X 10.10.3 | |
1666 | */ | |
1667 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1668 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1669 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1670 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1671 | #else | |
1672 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
1673 | #endif | |
1674 | ||
1675 | /* | |
1676 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1677 | * | |
1678 | * Used on declarations introduced in Mac OS X 10.1, | |
1679 | * but later deprecated in Mac OS X 10.10.3 | |
1680 | */ | |
1681 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1682 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1683 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1684 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1685 | #else | |
1686 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
1687 | #endif | |
1688 | ||
1689 | /* | |
1690 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1691 | * | |
1692 | * Used on declarations introduced in Mac OS X 10.2, | |
1693 | * but later deprecated in Mac OS X 10.10.3 | |
1694 | */ | |
1695 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1696 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1697 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1698 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1699 | #else | |
1700 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
1701 | #endif | |
1702 | ||
1703 | /* | |
1704 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1705 | * | |
1706 | * Used on declarations introduced in Mac OS X 10.3, | |
1707 | * but later deprecated in Mac OS X 10.10.3 | |
1708 | */ | |
1709 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1710 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1711 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1712 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1713 | #else | |
1714 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
1715 | #endif | |
1716 | ||
1717 | /* | |
1718 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1719 | * | |
1720 | * Used on declarations introduced in Mac OS X 10.4, | |
1721 | * but later deprecated in Mac OS X 10.10.3 | |
1722 | */ | |
1723 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1724 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1725 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1726 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1727 | #else | |
1728 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
1729 | #endif | |
1730 | ||
1731 | /* | |
1732 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1733 | * | |
1734 | * Used on declarations introduced in Mac OS X 10.5, | |
1735 | * but later deprecated in Mac OS X 10.10.3 | |
1736 | */ | |
1737 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1738 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1739 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1740 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1741 | #else | |
1742 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
1743 | #endif | |
1744 | ||
1745 | /* | |
1746 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1747 | * | |
1748 | * Used on declarations introduced in Mac OS X 10.6, | |
1749 | * but later deprecated in Mac OS X 10.10.3 | |
1750 | */ | |
1751 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1752 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1753 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1754 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1755 | #else | |
1756 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
1757 | #endif | |
1758 | ||
1759 | /* | |
1760 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1761 | * | |
1762 | * Used on declarations introduced in Mac OS X 10.7, | |
1763 | * but later deprecated in Mac OS X 10.10.3 | |
1764 | */ | |
1765 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1766 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1767 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1768 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1769 | #else | |
1770 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
1771 | #endif | |
1772 | ||
1773 | /* | |
1774 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1775 | * | |
1776 | * Used on declarations introduced in Mac OS X 10.8, | |
1777 | * but later deprecated in Mac OS X 10.10.3 | |
1778 | */ | |
1779 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1780 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1781 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1782 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1783 | #else | |
1784 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
1785 | #endif | |
1786 | ||
1787 | /* | |
1788 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1789 | * | |
1790 | * Used on declarations introduced in Mac OS X 10.9, | |
1791 | * but later deprecated in Mac OS X 10.10.3 | |
1792 | */ | |
1793 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1794 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1795 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1796 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1797 | #else | |
1798 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
1799 | #endif | |
1800 | ||
1801 | /* | |
1802 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1803 | * | |
1804 | * Used on declarations introduced in Mac OS X 10.10, | |
1805 | * but later deprecated in Mac OS X 10.10.3 | |
1806 | */ | |
1807 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1808 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1809 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1810 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1811 | #else | |
1812 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
1813 | #endif | |
1814 | ||
1815 | /* | |
1816 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 | |
1817 | * | |
1818 | * Used on declarations introduced in Mac OS X 10.10.2, | |
1819 | * but later deprecated in Mac OS X 10.10.3 | |
1820 | */ | |
1821 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1822 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1823 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1824 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 DEPRECATED_ATTRIBUTE | |
1825 | #else | |
1826 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
1827 | #endif | |
1828 | ||
1829 | /* | |
1830 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
1831 | * | |
1832 | * Used on types deprecated in Mac OS X 10.10.3 | |
1833 | */ | |
1834 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1835 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_10_3, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1836 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10_3 |
1837 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3_AND_LATER DEPRECATED_ATTRIBUTE | |
1838 | #else | |
1839 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
1840 | #endif | |
1841 | ||
1842 | ||
1843 | /* | |
1844 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
1845 | * | |
1846 | * Used on declarations introduced in Mac OS X 10.11 | |
1847 | */ | |
1848 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1849 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_11, __IPHONE_4_0) |
3e170ce0 A |
1850 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_11 |
1851 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER UNAVAILABLE_ATTRIBUTE | |
1852 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11 | |
1853 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
1854 | #else | |
1855 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
1856 | #endif | |
1857 | ||
1858 | /* | |
1859 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED | |
1860 | * | |
1861 | * Used on declarations introduced in Mac OS X 10.11, | |
1862 | * and deprecated in Mac OS X 10.11 | |
1863 | */ | |
1864 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1865 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1866 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1867 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
1868 | #else | |
1869 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
1870 | #endif | |
1871 | ||
1872 | /* | |
1873 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1874 | * | |
1875 | * Used on declarations introduced in Mac OS X 10.0, | |
1876 | * but later deprecated in Mac OS X 10.11 | |
1877 | */ | |
1878 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1879 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1880 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1881 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1882 | #else | |
1883 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
1884 | #endif | |
1885 | ||
1886 | /* | |
1887 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1888 | * | |
1889 | * Used on declarations introduced in Mac OS X 10.1, | |
1890 | * but later deprecated in Mac OS X 10.11 | |
1891 | */ | |
1892 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1893 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1894 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1895 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1896 | #else | |
1897 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
1898 | #endif | |
1899 | ||
1900 | /* | |
1901 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1902 | * | |
1903 | * Used on declarations introduced in Mac OS X 10.2, | |
1904 | * but later deprecated in Mac OS X 10.11 | |
1905 | */ | |
1906 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1907 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1908 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1909 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1910 | #else | |
1911 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
1912 | #endif | |
1913 | ||
1914 | /* | |
1915 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1916 | * | |
1917 | * Used on declarations introduced in Mac OS X 10.3, | |
1918 | * but later deprecated in Mac OS X 10.11 | |
1919 | */ | |
1920 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1921 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1922 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1923 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1924 | #else | |
1925 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
1926 | #endif | |
1927 | ||
1928 | /* | |
1929 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1930 | * | |
1931 | * Used on declarations introduced in Mac OS X 10.4, | |
1932 | * but later deprecated in Mac OS X 10.11 | |
1933 | */ | |
1934 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1935 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1936 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1937 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1938 | #else | |
1939 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
1940 | #endif | |
1941 | ||
1942 | /* | |
1943 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1944 | * | |
1945 | * Used on declarations introduced in Mac OS X 10.5, | |
1946 | * but later deprecated in Mac OS X 10.11 | |
1947 | */ | |
1948 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1949 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1950 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1951 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1952 | #else | |
1953 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
1954 | #endif | |
1955 | ||
1956 | /* | |
1957 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1958 | * | |
1959 | * Used on declarations introduced in Mac OS X 10.6, | |
1960 | * but later deprecated in Mac OS X 10.11 | |
1961 | */ | |
1962 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1963 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1964 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1965 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1966 | #else | |
1967 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
1968 | #endif | |
1969 | ||
1970 | /* | |
1971 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1972 | * | |
1973 | * Used on declarations introduced in Mac OS X 10.7, | |
1974 | * but later deprecated in Mac OS X 10.11 | |
1975 | */ | |
1976 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1977 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1978 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1979 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1980 | #else | |
1981 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
1982 | #endif | |
1983 | ||
1984 | /* | |
1985 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
1986 | * | |
1987 | * Used on declarations introduced in Mac OS X 10.8, | |
1988 | * but later deprecated in Mac OS X 10.11 | |
1989 | */ | |
1990 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 1991 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
1992 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
1993 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
1994 | #else | |
1995 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
1996 | #endif | |
1997 | ||
1998 | /* | |
1999 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
2000 | * | |
2001 | * Used on declarations introduced in Mac OS X 10.9, | |
2002 | * but later deprecated in Mac OS X 10.11 | |
2003 | */ | |
2004 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 2005 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
2006 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
2007 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
2008 | #else | |
2009 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
2010 | #endif | |
2011 | ||
2012 | /* | |
2013 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
2014 | * | |
2015 | * Used on declarations introduced in Mac OS X 10.10, | |
2016 | * but later deprecated in Mac OS X 10.11 | |
2017 | */ | |
2018 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 2019 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
2020 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
2021 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
2022 | #else | |
2023 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
2024 | #endif | |
2025 | ||
2026 | /* | |
2027 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
2028 | * | |
2029 | * Used on declarations introduced in Mac OS X 10.10.2, | |
2030 | * but later deprecated in Mac OS X 10.11 | |
2031 | */ | |
2032 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 2033 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
2034 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
2035 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
2036 | #else | |
2037 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
2038 | #endif | |
2039 | ||
2040 | /* | |
2041 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 | |
2042 | * | |
2043 | * Used on declarations introduced in Mac OS X 10.10.3, | |
2044 | * but later deprecated in Mac OS X 10.11 | |
2045 | */ | |
2046 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 2047 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
2048 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
2049 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 DEPRECATED_ATTRIBUTE | |
2050 | #else | |
2051 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11 AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
2052 | #endif | |
2053 | ||
2054 | /* | |
2055 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_11_AND_LATER | |
2056 | * | |
2057 | * Used on types deprecated in Mac OS X 10.11 | |
2058 | */ | |
2059 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
39037602 | 2060 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_11, __IPHONE_4_0, __IPHONE_4_0) |
3e170ce0 A |
2061 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11 |
2062 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_AND_LATER DEPRECATED_ATTRIBUTE | |
2063 | #else | |
2064 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_AND_LATER | |
2065 | #endif | |
2066 | ||
2067 | ||
813fb2f6 A |
2068 | /* |
2069 | * AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
2070 | * | |
2071 | * Used on declarations introduced in Mac OS X 10.11.2 | |
2072 | */ | |
2073 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2074 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_11_2, __IPHONE_4_0) | |
2075 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_11_2 | |
2076 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER UNAVAILABLE_ATTRIBUTE | |
2077 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11_2 | |
2078 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
2079 | #else | |
2080 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
2081 | #endif | |
2082 | ||
2083 | /* | |
2084 | * AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED | |
2085 | * | |
2086 | * Used on declarations introduced in Mac OS X 10.11.2, | |
2087 | * and deprecated in Mac OS X 10.11.2 | |
2088 | */ | |
2089 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2090 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_2, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2091 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2092 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
2093 | #else | |
2094 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
2095 | #endif | |
2096 | ||
2097 | /* | |
2098 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2099 | * | |
2100 | * Used on declarations introduced in Mac OS X 10.0, | |
2101 | * but later deprecated in Mac OS X 10.11.2 | |
2102 | */ | |
2103 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2104 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2105 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2106 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2107 | #else | |
2108 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
2109 | #endif | |
2110 | ||
2111 | /* | |
2112 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2113 | * | |
2114 | * Used on declarations introduced in Mac OS X 10.1, | |
2115 | * but later deprecated in Mac OS X 10.11.2 | |
2116 | */ | |
2117 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2118 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2119 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2120 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2121 | #else | |
2122 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
2123 | #endif | |
2124 | ||
2125 | /* | |
2126 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2127 | * | |
2128 | * Used on declarations introduced in Mac OS X 10.2, | |
2129 | * but later deprecated in Mac OS X 10.11.2 | |
2130 | */ | |
2131 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2132 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2133 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2134 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2135 | #else | |
2136 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
2137 | #endif | |
2138 | ||
2139 | /* | |
2140 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2141 | * | |
2142 | * Used on declarations introduced in Mac OS X 10.3, | |
2143 | * but later deprecated in Mac OS X 10.11.2 | |
2144 | */ | |
2145 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2146 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2147 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2148 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2149 | #else | |
2150 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
2151 | #endif | |
2152 | ||
2153 | /* | |
2154 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2155 | * | |
2156 | * Used on declarations introduced in Mac OS X 10.4, | |
2157 | * but later deprecated in Mac OS X 10.11.2 | |
2158 | */ | |
2159 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2160 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2161 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2162 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2163 | #else | |
2164 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
2165 | #endif | |
2166 | ||
2167 | /* | |
2168 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2169 | * | |
2170 | * Used on declarations introduced in Mac OS X 10.5, | |
2171 | * but later deprecated in Mac OS X 10.11.2 | |
2172 | */ | |
2173 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2174 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2175 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2176 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2177 | #else | |
2178 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
2179 | #endif | |
2180 | ||
2181 | /* | |
2182 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2183 | * | |
2184 | * Used on declarations introduced in Mac OS X 10.6, | |
2185 | * but later deprecated in Mac OS X 10.11.2 | |
2186 | */ | |
2187 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2188 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2189 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2190 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2191 | #else | |
2192 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
2193 | #endif | |
2194 | ||
2195 | /* | |
2196 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2197 | * | |
2198 | * Used on declarations introduced in Mac OS X 10.7, | |
2199 | * but later deprecated in Mac OS X 10.11.2 | |
2200 | */ | |
2201 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2202 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2203 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2204 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2205 | #else | |
2206 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
2207 | #endif | |
2208 | ||
2209 | /* | |
2210 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2211 | * | |
2212 | * Used on declarations introduced in Mac OS X 10.8, | |
2213 | * but later deprecated in Mac OS X 10.11.2 | |
2214 | */ | |
2215 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2216 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2217 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2218 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2219 | #else | |
2220 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
2221 | #endif | |
2222 | ||
2223 | /* | |
2224 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2225 | * | |
2226 | * Used on declarations introduced in Mac OS X 10.9, | |
2227 | * but later deprecated in Mac OS X 10.11.2 | |
2228 | */ | |
2229 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2230 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2231 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2232 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2233 | #else | |
2234 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
2235 | #endif | |
2236 | ||
2237 | /* | |
2238 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2239 | * | |
2240 | * Used on declarations introduced in Mac OS X 10.10, | |
2241 | * but later deprecated in Mac OS X 10.11.2 | |
2242 | */ | |
2243 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2244 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2245 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2246 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2247 | #else | |
2248 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
2249 | #endif | |
2250 | ||
2251 | /* | |
2252 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2253 | * | |
2254 | * Used on declarations introduced in Mac OS X 10.10.2, | |
2255 | * but later deprecated in Mac OS X 10.11.2 | |
2256 | */ | |
2257 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2258 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2259 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2260 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2261 | #else | |
2262 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
2263 | #endif | |
2264 | ||
2265 | /* | |
2266 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2267 | * | |
2268 | * Used on declarations introduced in Mac OS X 10.10.3, | |
2269 | * but later deprecated in Mac OS X 10.11.2 | |
2270 | */ | |
2271 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2272 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2273 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2274 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2275 | #else | |
2276 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
2277 | #endif | |
2278 | ||
2279 | /* | |
2280 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 | |
2281 | * | |
2282 | * Used on declarations introduced in Mac OS X 10.11, | |
2283 | * but later deprecated in Mac OS X 10.11.2 | |
2284 | */ | |
2285 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2286 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2287 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2288 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 DEPRECATED_ATTRIBUTE | |
2289 | #else | |
2290 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2 AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
2291 | #endif | |
2292 | ||
2293 | /* | |
2294 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
2295 | * | |
2296 | * Used on types deprecated in Mac OS X 10.11.2 | |
2297 | */ | |
2298 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2299 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_11_2, __IPHONE_4_0, __IPHONE_4_0) | |
2300 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_2 | |
2301 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2_AND_LATER DEPRECATED_ATTRIBUTE | |
2302 | #else | |
2303 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
2304 | #endif | |
2305 | ||
2306 | ||
2307 | /* | |
2308 | * AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
2309 | * | |
2310 | * Used on declarations introduced in Mac OS X 10.11.3 | |
2311 | */ | |
2312 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2313 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_11_3, __IPHONE_4_0) | |
2314 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_11_3 | |
2315 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER UNAVAILABLE_ATTRIBUTE | |
2316 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11_3 | |
2317 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
2318 | #else | |
2319 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
2320 | #endif | |
2321 | ||
2322 | /* | |
2323 | * AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED | |
2324 | * | |
2325 | * Used on declarations introduced in Mac OS X 10.11.3, | |
2326 | * and deprecated in Mac OS X 10.11.3 | |
2327 | */ | |
2328 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2329 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_3, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2330 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2331 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
2332 | #else | |
2333 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
2334 | #endif | |
2335 | ||
2336 | /* | |
2337 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2338 | * | |
2339 | * Used on declarations introduced in Mac OS X 10.0, | |
2340 | * but later deprecated in Mac OS X 10.11.3 | |
2341 | */ | |
2342 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2343 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2344 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2345 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2346 | #else | |
2347 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
2348 | #endif | |
2349 | ||
2350 | /* | |
2351 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2352 | * | |
2353 | * Used on declarations introduced in Mac OS X 10.1, | |
2354 | * but later deprecated in Mac OS X 10.11.3 | |
2355 | */ | |
2356 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2357 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2358 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2359 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2360 | #else | |
2361 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
2362 | #endif | |
2363 | ||
2364 | /* | |
2365 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2366 | * | |
2367 | * Used on declarations introduced in Mac OS X 10.2, | |
2368 | * but later deprecated in Mac OS X 10.11.3 | |
2369 | */ | |
2370 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2371 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2372 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2373 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2374 | #else | |
2375 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
2376 | #endif | |
2377 | ||
2378 | /* | |
2379 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2380 | * | |
2381 | * Used on declarations introduced in Mac OS X 10.3, | |
2382 | * but later deprecated in Mac OS X 10.11.3 | |
2383 | */ | |
2384 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2385 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2386 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2387 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2388 | #else | |
2389 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
2390 | #endif | |
2391 | ||
2392 | /* | |
2393 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2394 | * | |
2395 | * Used on declarations introduced in Mac OS X 10.4, | |
2396 | * but later deprecated in Mac OS X 10.11.3 | |
2397 | */ | |
2398 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2399 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2400 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2401 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2402 | #else | |
2403 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
2404 | #endif | |
2405 | ||
2406 | /* | |
2407 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2408 | * | |
2409 | * Used on declarations introduced in Mac OS X 10.5, | |
2410 | * but later deprecated in Mac OS X 10.11.3 | |
2411 | */ | |
2412 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2413 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2414 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2415 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2416 | #else | |
2417 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
2418 | #endif | |
2419 | ||
2420 | /* | |
2421 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2422 | * | |
2423 | * Used on declarations introduced in Mac OS X 10.6, | |
2424 | * but later deprecated in Mac OS X 10.11.3 | |
2425 | */ | |
2426 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2427 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2428 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2429 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2430 | #else | |
2431 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
2432 | #endif | |
2433 | ||
2434 | /* | |
2435 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2436 | * | |
2437 | * Used on declarations introduced in Mac OS X 10.7, | |
2438 | * but later deprecated in Mac OS X 10.11.3 | |
2439 | */ | |
2440 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2441 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2442 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2443 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2444 | #else | |
2445 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
2446 | #endif | |
2447 | ||
2448 | /* | |
2449 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2450 | * | |
2451 | * Used on declarations introduced in Mac OS X 10.8, | |
2452 | * but later deprecated in Mac OS X 10.11.3 | |
2453 | */ | |
2454 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2455 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2456 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2457 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2458 | #else | |
2459 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
2460 | #endif | |
2461 | ||
2462 | /* | |
2463 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2464 | * | |
2465 | * Used on declarations introduced in Mac OS X 10.9, | |
2466 | * but later deprecated in Mac OS X 10.11.3 | |
2467 | */ | |
2468 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2469 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2470 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2471 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2472 | #else | |
2473 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
2474 | #endif | |
2475 | ||
2476 | /* | |
2477 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2478 | * | |
2479 | * Used on declarations introduced in Mac OS X 10.10, | |
2480 | * but later deprecated in Mac OS X 10.11.3 | |
2481 | */ | |
2482 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2483 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2484 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2485 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2486 | #else | |
2487 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
2488 | #endif | |
2489 | ||
2490 | /* | |
2491 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2492 | * | |
2493 | * Used on declarations introduced in Mac OS X 10.10.2, | |
2494 | * but later deprecated in Mac OS X 10.11.3 | |
2495 | */ | |
2496 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2497 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2498 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2499 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2500 | #else | |
2501 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
2502 | #endif | |
2503 | ||
2504 | /* | |
2505 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2506 | * | |
2507 | * Used on declarations introduced in Mac OS X 10.10.3, | |
2508 | * but later deprecated in Mac OS X 10.11.3 | |
2509 | */ | |
2510 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2511 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2512 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2513 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2514 | #else | |
2515 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
2516 | #endif | |
2517 | ||
2518 | /* | |
2519 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2520 | * | |
2521 | * Used on declarations introduced in Mac OS X 10.11, | |
2522 | * but later deprecated in Mac OS X 10.11.3 | |
2523 | */ | |
2524 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2525 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2526 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2527 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2528 | #else | |
2529 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
2530 | #endif | |
2531 | ||
2532 | /* | |
2533 | * AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 | |
2534 | * | |
2535 | * Used on declarations introduced in Mac OS X 10.11.2, | |
2536 | * but later deprecated in Mac OS X 10.11.3 | |
2537 | */ | |
2538 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2539 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_2, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2540 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2541 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 DEPRECATED_ATTRIBUTE | |
2542 | #else | |
2543 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3 AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
2544 | #endif | |
2545 | ||
2546 | /* | |
2547 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
2548 | * | |
2549 | * Used on types deprecated in Mac OS X 10.11.3 | |
2550 | */ | |
2551 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2552 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_11_3, __IPHONE_4_0, __IPHONE_4_0) | |
2553 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_3 | |
2554 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3_AND_LATER DEPRECATED_ATTRIBUTE | |
2555 | #else | |
2556 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
2557 | #endif | |
2558 | ||
2559 | ||
2560 | /* | |
2561 | * AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
2562 | * | |
2563 | * Used on declarations introduced in Mac OS X 10.11.4 | |
2564 | */ | |
2565 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2566 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_11_4, __IPHONE_4_0) | |
2567 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_11_4 | |
2568 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER UNAVAILABLE_ATTRIBUTE | |
2569 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11_4 | |
2570 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
2571 | #else | |
2572 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
2573 | #endif | |
2574 | ||
2575 | /* | |
2576 | * AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED | |
2577 | * | |
2578 | * Used on declarations introduced in Mac OS X 10.11.4, | |
2579 | * and deprecated in Mac OS X 10.11.4 | |
2580 | */ | |
2581 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2582 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_4, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2583 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2584 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
2585 | #else | |
2586 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
2587 | #endif | |
2588 | ||
2589 | /* | |
2590 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2591 | * | |
2592 | * Used on declarations introduced in Mac OS X 10.0, | |
2593 | * but later deprecated in Mac OS X 10.11.4 | |
2594 | */ | |
2595 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2596 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2597 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2598 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2599 | #else | |
2600 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
2601 | #endif | |
2602 | ||
2603 | /* | |
2604 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2605 | * | |
2606 | * Used on declarations introduced in Mac OS X 10.1, | |
2607 | * but later deprecated in Mac OS X 10.11.4 | |
2608 | */ | |
2609 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2610 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2611 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2612 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2613 | #else | |
2614 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
2615 | #endif | |
2616 | ||
2617 | /* | |
2618 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2619 | * | |
2620 | * Used on declarations introduced in Mac OS X 10.2, | |
2621 | * but later deprecated in Mac OS X 10.11.4 | |
2622 | */ | |
2623 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2624 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2625 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2626 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2627 | #else | |
2628 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
2629 | #endif | |
2630 | ||
2631 | /* | |
2632 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2633 | * | |
2634 | * Used on declarations introduced in Mac OS X 10.3, | |
2635 | * but later deprecated in Mac OS X 10.11.4 | |
2636 | */ | |
2637 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2638 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2639 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2640 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2641 | #else | |
2642 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
2643 | #endif | |
2644 | ||
2645 | /* | |
2646 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2647 | * | |
2648 | * Used on declarations introduced in Mac OS X 10.4, | |
2649 | * but later deprecated in Mac OS X 10.11.4 | |
2650 | */ | |
2651 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2652 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2653 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2654 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2655 | #else | |
2656 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
2657 | #endif | |
2658 | ||
2659 | /* | |
2660 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2661 | * | |
2662 | * Used on declarations introduced in Mac OS X 10.5, | |
2663 | * but later deprecated in Mac OS X 10.11.4 | |
2664 | */ | |
2665 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2666 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2667 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2668 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2669 | #else | |
2670 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
2671 | #endif | |
2672 | ||
2673 | /* | |
2674 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2675 | * | |
2676 | * Used on declarations introduced in Mac OS X 10.6, | |
2677 | * but later deprecated in Mac OS X 10.11.4 | |
2678 | */ | |
2679 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2680 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2681 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2682 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2683 | #else | |
2684 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
2685 | #endif | |
2686 | ||
2687 | /* | |
2688 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2689 | * | |
2690 | * Used on declarations introduced in Mac OS X 10.7, | |
2691 | * but later deprecated in Mac OS X 10.11.4 | |
2692 | */ | |
2693 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2694 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2695 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2696 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2697 | #else | |
2698 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
2699 | #endif | |
2700 | ||
2701 | /* | |
2702 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2703 | * | |
2704 | * Used on declarations introduced in Mac OS X 10.8, | |
2705 | * but later deprecated in Mac OS X 10.11.4 | |
2706 | */ | |
2707 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2708 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2709 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2710 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2711 | #else | |
2712 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
2713 | #endif | |
2714 | ||
2715 | /* | |
2716 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2717 | * | |
2718 | * Used on declarations introduced in Mac OS X 10.9, | |
2719 | * but later deprecated in Mac OS X 10.11.4 | |
2720 | */ | |
2721 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2722 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2723 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2724 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2725 | #else | |
2726 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
2727 | #endif | |
2728 | ||
2729 | /* | |
2730 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2731 | * | |
2732 | * Used on declarations introduced in Mac OS X 10.10, | |
2733 | * but later deprecated in Mac OS X 10.11.4 | |
2734 | */ | |
2735 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2736 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2737 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2738 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2739 | #else | |
2740 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
2741 | #endif | |
2742 | ||
2743 | /* | |
2744 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2745 | * | |
2746 | * Used on declarations introduced in Mac OS X 10.10.2, | |
2747 | * but later deprecated in Mac OS X 10.11.4 | |
2748 | */ | |
2749 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2750 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2751 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2752 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2753 | #else | |
2754 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
2755 | #endif | |
2756 | ||
2757 | /* | |
2758 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2759 | * | |
2760 | * Used on declarations introduced in Mac OS X 10.10.3, | |
2761 | * but later deprecated in Mac OS X 10.11.4 | |
2762 | */ | |
2763 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2764 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2765 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2766 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2767 | #else | |
2768 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
2769 | #endif | |
2770 | ||
2771 | /* | |
2772 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2773 | * | |
2774 | * Used on declarations introduced in Mac OS X 10.11, | |
2775 | * but later deprecated in Mac OS X 10.11.4 | |
2776 | */ | |
2777 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2778 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2779 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2780 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2781 | #else | |
2782 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
2783 | #endif | |
2784 | ||
2785 | /* | |
2786 | * AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2787 | * | |
2788 | * Used on declarations introduced in Mac OS X 10.11.2, | |
2789 | * but later deprecated in Mac OS X 10.11.4 | |
2790 | */ | |
2791 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2792 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_2, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2793 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2794 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2795 | #else | |
2796 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
2797 | #endif | |
2798 | ||
2799 | /* | |
2800 | * AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 | |
2801 | * | |
2802 | * Used on declarations introduced in Mac OS X 10.11.3, | |
2803 | * but later deprecated in Mac OS X 10.11.4 | |
2804 | */ | |
2805 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2806 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_3, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2807 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2808 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 DEPRECATED_ATTRIBUTE | |
2809 | #else | |
2810 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4 AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
2811 | #endif | |
2812 | ||
2813 | /* | |
2814 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
2815 | * | |
2816 | * Used on types deprecated in Mac OS X 10.11.4 | |
2817 | */ | |
2818 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2819 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_11_4, __IPHONE_4_0, __IPHONE_4_0) | |
2820 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_11_4 | |
2821 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4_AND_LATER DEPRECATED_ATTRIBUTE | |
2822 | #else | |
2823 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
2824 | #endif | |
2825 | ||
2826 | ||
39037602 A |
2827 | /* |
2828 | * AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER | |
2829 | * | |
813fb2f6 A |
2830 | * Used on declarations introduced in Mac OS X 10.12 |
2831 | */ | |
2832 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2833 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_12, __IPHONE_4_0) | |
2834 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12 | |
2835 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER UNAVAILABLE_ATTRIBUTE | |
2836 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12 | |
2837 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
2838 | #else | |
2839 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER | |
2840 | #endif | |
2841 | ||
2842 | /* | |
2843 | * AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED | |
2844 | * | |
2845 | * Used on declarations introduced in Mac OS X 10.12, | |
2846 | * and deprecated in Mac OS X 10.12 | |
2847 | */ | |
2848 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2849 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2850 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2851 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
2852 | #else | |
2853 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER | |
2854 | #endif | |
2855 | ||
2856 | /* | |
2857 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2858 | * | |
2859 | * Used on declarations introduced in Mac OS X 10.0, | |
2860 | * but later deprecated in Mac OS X 10.12 | |
2861 | */ | |
2862 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2863 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2864 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2865 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2866 | #else | |
2867 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
2868 | #endif | |
2869 | ||
2870 | /* | |
2871 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2872 | * | |
2873 | * Used on declarations introduced in Mac OS X 10.1, | |
2874 | * but later deprecated in Mac OS X 10.12 | |
2875 | */ | |
2876 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2877 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2878 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2879 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2880 | #else | |
2881 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
2882 | #endif | |
2883 | ||
2884 | /* | |
2885 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2886 | * | |
2887 | * Used on declarations introduced in Mac OS X 10.2, | |
2888 | * but later deprecated in Mac OS X 10.12 | |
2889 | */ | |
2890 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2891 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2892 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2893 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2894 | #else | |
2895 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
2896 | #endif | |
2897 | ||
2898 | /* | |
2899 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2900 | * | |
2901 | * Used on declarations introduced in Mac OS X 10.3, | |
2902 | * but later deprecated in Mac OS X 10.12 | |
2903 | */ | |
2904 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2905 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2906 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2907 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2908 | #else | |
2909 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
2910 | #endif | |
2911 | ||
2912 | /* | |
2913 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2914 | * | |
2915 | * Used on declarations introduced in Mac OS X 10.4, | |
2916 | * but later deprecated in Mac OS X 10.12 | |
2917 | */ | |
2918 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2919 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2920 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2921 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2922 | #else | |
2923 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
2924 | #endif | |
2925 | ||
2926 | /* | |
2927 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2928 | * | |
2929 | * Used on declarations introduced in Mac OS X 10.5, | |
2930 | * but later deprecated in Mac OS X 10.12 | |
2931 | */ | |
2932 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2933 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2934 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2935 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2936 | #else | |
2937 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
2938 | #endif | |
2939 | ||
2940 | /* | |
2941 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2942 | * | |
2943 | * Used on declarations introduced in Mac OS X 10.6, | |
2944 | * but later deprecated in Mac OS X 10.12 | |
2945 | */ | |
2946 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2947 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2948 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2949 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2950 | #else | |
2951 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
2952 | #endif | |
2953 | ||
2954 | /* | |
2955 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2956 | * | |
2957 | * Used on declarations introduced in Mac OS X 10.7, | |
2958 | * but later deprecated in Mac OS X 10.12 | |
2959 | */ | |
2960 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2961 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2962 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2963 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2964 | #else | |
2965 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
2966 | #endif | |
2967 | ||
2968 | /* | |
2969 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2970 | * | |
2971 | * Used on declarations introduced in Mac OS X 10.8, | |
2972 | * but later deprecated in Mac OS X 10.12 | |
2973 | */ | |
2974 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2975 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2976 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2977 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2978 | #else | |
2979 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
2980 | #endif | |
2981 | ||
2982 | /* | |
2983 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2984 | * | |
2985 | * Used on declarations introduced in Mac OS X 10.9, | |
2986 | * but later deprecated in Mac OS X 10.12 | |
2987 | */ | |
2988 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
2989 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
2990 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
2991 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
2992 | #else | |
2993 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
2994 | #endif | |
2995 | ||
2996 | /* | |
2997 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
2998 | * | |
2999 | * Used on declarations introduced in Mac OS X 10.10, | |
3000 | * but later deprecated in Mac OS X 10.12 | |
3001 | */ | |
3002 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3003 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
3004 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
3005 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
3006 | #else | |
3007 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
3008 | #endif | |
3009 | ||
3010 | /* | |
3011 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
3012 | * | |
3013 | * Used on declarations introduced in Mac OS X 10.10.2, | |
3014 | * but later deprecated in Mac OS X 10.12 | |
3015 | */ | |
3016 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3017 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
3018 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
3019 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
3020 | #else | |
3021 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
3022 | #endif | |
3023 | ||
3024 | /* | |
3025 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
3026 | * | |
3027 | * Used on declarations introduced in Mac OS X 10.10.3, | |
3028 | * but later deprecated in Mac OS X 10.12 | |
3029 | */ | |
3030 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3031 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
3032 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
3033 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
3034 | #else | |
3035 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
3036 | #endif | |
3037 | ||
3038 | /* | |
3039 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
3040 | * | |
3041 | * Used on declarations introduced in Mac OS X 10.11, | |
3042 | * but later deprecated in Mac OS X 10.12 | |
3043 | */ | |
3044 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3045 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
3046 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
3047 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
3048 | #else | |
3049 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
3050 | #endif | |
3051 | ||
3052 | /* | |
3053 | * AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
3054 | * | |
3055 | * Used on declarations introduced in Mac OS X 10.11.2, | |
3056 | * but later deprecated in Mac OS X 10.12 | |
3057 | */ | |
3058 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3059 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_2, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
3060 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
3061 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
3062 | #else | |
3063 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
3064 | #endif | |
3065 | ||
3066 | /* | |
3067 | * AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
3068 | * | |
3069 | * Used on declarations introduced in Mac OS X 10.11.3, | |
3070 | * but later deprecated in Mac OS X 10.12 | |
3071 | */ | |
3072 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3073 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_3, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
3074 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
3075 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
3076 | #else | |
3077 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
3078 | #endif | |
3079 | ||
3080 | /* | |
3081 | * AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 | |
3082 | * | |
3083 | * Used on declarations introduced in Mac OS X 10.11.4, | |
3084 | * but later deprecated in Mac OS X 10.12 | |
3085 | */ | |
3086 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3087 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_4, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
3088 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
3089 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 DEPRECATED_ATTRIBUTE | |
3090 | #else | |
3091 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12 AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
3092 | #endif | |
3093 | ||
3094 | /* | |
3095 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_12_AND_LATER | |
3096 | * | |
3097 | * Used on types deprecated in Mac OS X 10.12 | |
3098 | */ | |
3099 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3100 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_12, __IPHONE_4_0, __IPHONE_4_0) | |
3101 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 | |
3102 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_AND_LATER DEPRECATED_ATTRIBUTE | |
3103 | #else | |
3104 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_AND_LATER | |
3105 | #endif | |
3106 | ||
3107 | ||
3108 | /* | |
3109 | * AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER | |
3110 | * | |
3111 | * Used on declarations introduced in Mac OS X 10.12.1 | |
3112 | */ | |
3113 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3114 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_12_1, __IPHONE_4_0) | |
3115 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12_1 | |
3116 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER UNAVAILABLE_ATTRIBUTE | |
3117 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12_1 | |
3118 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
3119 | #else | |
3120 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER | |
3121 | #endif | |
3122 | ||
3123 | /* | |
3124 | * AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED | |
3125 | * | |
3126 | * Used on declarations introduced in Mac OS X 10.12.1, | |
3127 | * and deprecated in Mac OS X 10.12.1 | |
3128 | */ | |
3129 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3130 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12_1, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3131 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3132 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
3133 | #else | |
3134 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER | |
3135 | #endif | |
3136 | ||
3137 | /* | |
3138 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3139 | * | |
3140 | * Used on declarations introduced in Mac OS X 10.0, | |
3141 | * but later deprecated in Mac OS X 10.12.1 | |
3142 | */ | |
3143 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3144 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3145 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3146 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3147 | #else | |
3148 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
3149 | #endif | |
3150 | ||
3151 | /* | |
3152 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3153 | * | |
3154 | * Used on declarations introduced in Mac OS X 10.1, | |
3155 | * but later deprecated in Mac OS X 10.12.1 | |
3156 | */ | |
3157 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3158 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3159 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3160 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3161 | #else | |
3162 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
3163 | #endif | |
3164 | ||
3165 | /* | |
3166 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3167 | * | |
3168 | * Used on declarations introduced in Mac OS X 10.2, | |
3169 | * but later deprecated in Mac OS X 10.12.1 | |
3170 | */ | |
3171 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3172 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3173 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3174 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3175 | #else | |
3176 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
3177 | #endif | |
3178 | ||
3179 | /* | |
3180 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3181 | * | |
3182 | * Used on declarations introduced in Mac OS X 10.3, | |
3183 | * but later deprecated in Mac OS X 10.12.1 | |
3184 | */ | |
3185 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3186 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3187 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3188 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3189 | #else | |
3190 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
3191 | #endif | |
3192 | ||
3193 | /* | |
3194 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3195 | * | |
3196 | * Used on declarations introduced in Mac OS X 10.4, | |
3197 | * but later deprecated in Mac OS X 10.12.1 | |
3198 | */ | |
3199 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3200 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3201 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3202 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3203 | #else | |
3204 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
3205 | #endif | |
3206 | ||
3207 | /* | |
3208 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3209 | * | |
3210 | * Used on declarations introduced in Mac OS X 10.5, | |
3211 | * but later deprecated in Mac OS X 10.12.1 | |
3212 | */ | |
3213 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3214 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3215 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3216 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3217 | #else | |
3218 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
3219 | #endif | |
3220 | ||
3221 | /* | |
3222 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3223 | * | |
3224 | * Used on declarations introduced in Mac OS X 10.6, | |
3225 | * but later deprecated in Mac OS X 10.12.1 | |
3226 | */ | |
3227 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3228 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3229 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3230 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3231 | #else | |
3232 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER | |
3233 | #endif | |
3234 | ||
3235 | /* | |
3236 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3237 | * | |
3238 | * Used on declarations introduced in Mac OS X 10.7, | |
3239 | * but later deprecated in Mac OS X 10.12.1 | |
3240 | */ | |
3241 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3242 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3243 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3244 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3245 | #else | |
3246 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
3247 | #endif | |
3248 | ||
3249 | /* | |
3250 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3251 | * | |
3252 | * Used on declarations introduced in Mac OS X 10.8, | |
3253 | * but later deprecated in Mac OS X 10.12.1 | |
3254 | */ | |
3255 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3256 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3257 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3258 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3259 | #else | |
3260 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
3261 | #endif | |
3262 | ||
3263 | /* | |
3264 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3265 | * | |
3266 | * Used on declarations introduced in Mac OS X 10.9, | |
3267 | * but later deprecated in Mac OS X 10.12.1 | |
3268 | */ | |
3269 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3270 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3271 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3272 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3273 | #else | |
3274 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
3275 | #endif | |
3276 | ||
3277 | /* | |
3278 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3279 | * | |
3280 | * Used on declarations introduced in Mac OS X 10.10, | |
3281 | * but later deprecated in Mac OS X 10.12.1 | |
3282 | */ | |
3283 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3284 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3285 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3286 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3287 | #else | |
3288 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
3289 | #endif | |
3290 | ||
3291 | /* | |
3292 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3293 | * | |
3294 | * Used on declarations introduced in Mac OS X 10.10.2, | |
3295 | * but later deprecated in Mac OS X 10.12.1 | |
3296 | */ | |
3297 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3298 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3299 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3300 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3301 | #else | |
3302 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
3303 | #endif | |
3304 | ||
3305 | /* | |
3306 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3307 | * | |
3308 | * Used on declarations introduced in Mac OS X 10.10.3, | |
3309 | * but later deprecated in Mac OS X 10.12.1 | |
3310 | */ | |
3311 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3312 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3313 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3314 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3315 | #else | |
3316 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
3317 | #endif | |
3318 | ||
3319 | /* | |
3320 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3321 | * | |
3322 | * Used on declarations introduced in Mac OS X 10.11, | |
3323 | * but later deprecated in Mac OS X 10.12.1 | |
3324 | */ | |
3325 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3326 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3327 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3328 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3329 | #else | |
3330 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
3331 | #endif | |
3332 | ||
3333 | /* | |
3334 | * AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3335 | * | |
3336 | * Used on declarations introduced in Mac OS X 10.11.2, | |
3337 | * but later deprecated in Mac OS X 10.12.1 | |
3338 | */ | |
3339 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3340 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_2, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3341 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3342 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3343 | #else | |
3344 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
3345 | #endif | |
3346 | ||
3347 | /* | |
3348 | * AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3349 | * | |
3350 | * Used on declarations introduced in Mac OS X 10.11.3, | |
3351 | * but later deprecated in Mac OS X 10.12.1 | |
3352 | */ | |
3353 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3354 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_3, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3355 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3356 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3357 | #else | |
3358 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
3359 | #endif | |
3360 | ||
3361 | /* | |
3362 | * AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3363 | * | |
3364 | * Used on declarations introduced in Mac OS X 10.11.4, | |
3365 | * but later deprecated in Mac OS X 10.12.1 | |
3366 | */ | |
3367 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3368 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_4, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3369 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3370 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3371 | #else | |
3372 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
3373 | #endif | |
3374 | ||
3375 | /* | |
3376 | * AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 | |
3377 | * | |
3378 | * Used on declarations introduced in Mac OS X 10.12, | |
3379 | * but later deprecated in Mac OS X 10.12.1 | |
3380 | */ | |
3381 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3382 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3383 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3384 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 DEPRECATED_ATTRIBUTE | |
3385 | #else | |
3386 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1 AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER | |
3387 | #endif | |
3388 | ||
3389 | /* | |
3390 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1_AND_LATER | |
3391 | * | |
3392 | * Used on types deprecated in Mac OS X 10.12.1 | |
3393 | */ | |
3394 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3395 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_12_1, __IPHONE_4_0, __IPHONE_4_0) | |
3396 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_1 | |
3397 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1_AND_LATER DEPRECATED_ATTRIBUTE | |
3398 | #else | |
3399 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_1_AND_LATER | |
3400 | #endif | |
3401 | ||
3402 | ||
3403 | /* | |
3404 | * AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER | |
3405 | * | |
3406 | * Used on declarations introduced in Mac OS X 10.12.2 | |
3407 | */ | |
3408 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3409 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_12_2, __IPHONE_4_0) | |
3410 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12_2 | |
3411 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER UNAVAILABLE_ATTRIBUTE | |
3412 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12_2 | |
3413 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
3414 | #else | |
3415 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER | |
3416 | #endif | |
3417 | ||
3418 | /* | |
3419 | * AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER_BUT_DEPRECATED | |
3420 | * | |
3421 | * Used on declarations introduced in Mac OS X 10.12.2, | |
3422 | * and deprecated in Mac OS X 10.12.2 | |
3423 | */ | |
3424 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3425 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12_2, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3426 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3427 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
3428 | #else | |
3429 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER | |
3430 | #endif | |
3431 | ||
3432 | /* | |
3433 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3434 | * | |
3435 | * Used on declarations introduced in Mac OS X 10.0, | |
3436 | * but later deprecated in Mac OS X 10.12.2 | |
3437 | */ | |
3438 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3439 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3440 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3441 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3442 | #else | |
3443 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER | |
3444 | #endif | |
3445 | ||
3446 | /* | |
3447 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3448 | * | |
3449 | * Used on declarations introduced in Mac OS X 10.1, | |
3450 | * but later deprecated in Mac OS X 10.12.2 | |
3451 | */ | |
3452 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3453 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3454 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3455 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3456 | #else | |
3457 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER | |
3458 | #endif | |
3459 | ||
3460 | /* | |
3461 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3462 | * | |
3463 | * Used on declarations introduced in Mac OS X 10.2, | |
3464 | * but later deprecated in Mac OS X 10.12.2 | |
3465 | */ | |
3466 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3467 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3468 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3469 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3470 | #else | |
3471 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER | |
3472 | #endif | |
3473 | ||
3474 | /* | |
3475 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3476 | * | |
3477 | * Used on declarations introduced in Mac OS X 10.3, | |
3478 | * but later deprecated in Mac OS X 10.12.2 | |
3479 | */ | |
3480 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3481 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3482 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3483 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3484 | #else | |
3485 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER | |
3486 | #endif | |
3487 | ||
3488 | /* | |
3489 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3490 | * | |
3491 | * Used on declarations introduced in Mac OS X 10.4, | |
3492 | * but later deprecated in Mac OS X 10.12.2 | |
3493 | */ | |
3494 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3495 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3496 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3497 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3498 | #else | |
3499 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER | |
3500 | #endif | |
3501 | ||
3502 | /* | |
3503 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3504 | * | |
3505 | * Used on declarations introduced in Mac OS X 10.5, | |
3506 | * but later deprecated in Mac OS X 10.12.2 | |
3507 | */ | |
3508 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3509 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3510 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3511 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3512 | #else | |
3513 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER | |
3514 | #endif | |
3515 | ||
3516 | /* | |
3517 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3518 | * | |
3519 | * Used on declarations introduced in Mac OS X 10.6, | |
3520 | * but later deprecated in Mac OS X 10.12.2 | |
39037602 A |
3521 | */ |
3522 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3523 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) |
3524 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3525 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
39037602 | 3526 | #else |
813fb2f6 | 3527 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER |
39037602 A |
3528 | #endif |
3529 | ||
3530 | /* | |
813fb2f6 A |
3531 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 |
3532 | * | |
3533 | * Used on declarations introduced in Mac OS X 10.7, | |
3534 | * but later deprecated in Mac OS X 10.12.2 | |
3535 | */ | |
3536 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3537 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3538 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3539 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3540 | #else | |
3541 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER | |
3542 | #endif | |
3543 | ||
3544 | /* | |
3545 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3546 | * | |
3547 | * Used on declarations introduced in Mac OS X 10.8, | |
3548 | * but later deprecated in Mac OS X 10.12.2 | |
3549 | */ | |
3550 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3551 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3552 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3553 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3554 | #else | |
3555 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER | |
3556 | #endif | |
3557 | ||
3558 | /* | |
3559 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3560 | * | |
3561 | * Used on declarations introduced in Mac OS X 10.9, | |
3562 | * but later deprecated in Mac OS X 10.12.2 | |
3563 | */ | |
3564 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3565 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3566 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3567 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3568 | #else | |
3569 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER | |
3570 | #endif | |
3571 | ||
3572 | /* | |
3573 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3574 | * | |
3575 | * Used on declarations introduced in Mac OS X 10.10, | |
3576 | * but later deprecated in Mac OS X 10.12.2 | |
3577 | */ | |
3578 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3579 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3580 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3581 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3582 | #else | |
3583 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER | |
3584 | #endif | |
3585 | ||
3586 | /* | |
3587 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3588 | * | |
3589 | * Used on declarations introduced in Mac OS X 10.10.2, | |
3590 | * but later deprecated in Mac OS X 10.12.2 | |
3591 | */ | |
3592 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3593 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3594 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3595 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3596 | #else | |
3597 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER | |
3598 | #endif | |
3599 | ||
3600 | /* | |
3601 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3602 | * | |
3603 | * Used on declarations introduced in Mac OS X 10.10.3, | |
3604 | * but later deprecated in Mac OS X 10.12.2 | |
3605 | */ | |
3606 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3607 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3608 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3609 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3610 | #else | |
3611 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER | |
3612 | #endif | |
3613 | ||
3614 | /* | |
3615 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3616 | * | |
3617 | * Used on declarations introduced in Mac OS X 10.11, | |
3618 | * but later deprecated in Mac OS X 10.12.2 | |
3619 | */ | |
3620 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3621 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3622 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3623 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3624 | #else | |
3625 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER | |
3626 | #endif | |
3627 | ||
3628 | /* | |
3629 | * AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3630 | * | |
3631 | * Used on declarations introduced in Mac OS X 10.11.2, | |
3632 | * but later deprecated in Mac OS X 10.12.2 | |
3633 | */ | |
3634 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3635 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_2, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3636 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3637 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3638 | #else | |
3639 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER | |
3640 | #endif | |
3641 | ||
3642 | /* | |
3643 | * AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3644 | * | |
3645 | * Used on declarations introduced in Mac OS X 10.11.3, | |
3646 | * but later deprecated in Mac OS X 10.12.2 | |
3647 | */ | |
3648 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3649 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_3, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3650 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3651 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3652 | #else | |
3653 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
3654 | #endif | |
3655 | ||
3656 | /* | |
3657 | * AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
3658 | * | |
3659 | * Used on declarations introduced in Mac OS X 10.11.4, | |
3660 | * but later deprecated in Mac OS X 10.12.2 | |
3661 | */ | |
3662 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3663 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_4, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3664 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3665 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3666 | #else | |
3667 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
3668 | #endif | |
3669 | ||
3670 | /* | |
3671 | * AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 | |
39037602 A |
3672 | * |
3673 | * Used on declarations introduced in Mac OS X 10.12, | |
813fb2f6 | 3674 | * but later deprecated in Mac OS X 10.12.2 |
39037602 A |
3675 | */ |
3676 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3677 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) |
3678 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3679 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
39037602 | 3680 | #else |
813fb2f6 | 3681 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER |
39037602 A |
3682 | #endif |
3683 | ||
3684 | /* | |
813fb2f6 A |
3685 | * AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 |
3686 | * | |
3687 | * Used on declarations introduced in Mac OS X 10.12.1, | |
3688 | * but later deprecated in Mac OS X 10.12.2 | |
3689 | */ | |
3690 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3691 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12_1, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3692 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3693 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 DEPRECATED_ATTRIBUTE | |
3694 | #else | |
3695 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2 AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER | |
3696 | #endif | |
3697 | ||
3698 | /* | |
3699 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2_AND_LATER | |
3700 | * | |
3701 | * Used on types deprecated in Mac OS X 10.12.2 | |
3702 | */ | |
3703 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3704 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_12_2, __IPHONE_4_0, __IPHONE_4_0) | |
3705 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_2 | |
3706 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2_AND_LATER DEPRECATED_ATTRIBUTE | |
3707 | #else | |
3708 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_2_AND_LATER | |
3709 | #endif | |
3710 | ||
3711 | ||
3712 | /* | |
3713 | * AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER | |
3714 | * | |
3715 | * Used on declarations introduced in Mac OS X 10.12.4 | |
3716 | */ | |
3717 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3718 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER __OSX_AVAILABLE_STARTING(__MAC_10_12_4, __IPHONE_4_0) | |
3719 | #elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12_4 | |
3720 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER UNAVAILABLE_ATTRIBUTE | |
3721 | #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12_4 | |
3722 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER WEAK_IMPORT_ATTRIBUTE | |
3723 | #else | |
3724 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER | |
3725 | #endif | |
3726 | ||
3727 | /* | |
3728 | * AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER_BUT_DEPRECATED | |
3729 | * | |
3730 | * Used on declarations introduced in Mac OS X 10.12.4, | |
3731 | * and deprecated in Mac OS X 10.12.4 | |
3732 | */ | |
3733 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3734 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER_BUT_DEPRECATED __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12_4, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) | |
3735 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3736 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE | |
3737 | #else | |
3738 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER_BUT_DEPRECATED AVAILABLE_MAC_OS_X_VERSION_10_12_4_AND_LATER | |
3739 | #endif | |
3740 | ||
3741 | /* | |
3742 | * AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 | |
39037602 A |
3743 | * |
3744 | * Used on declarations introduced in Mac OS X 10.0, | |
813fb2f6 | 3745 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3746 | */ |
3747 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3748 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3749 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3750 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3751 | #else |
813fb2f6 | 3752 | #define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER |
39037602 A |
3753 | #endif |
3754 | ||
3755 | /* | |
813fb2f6 | 3756 | * AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3757 | * |
3758 | * Used on declarations introduced in Mac OS X 10.1, | |
813fb2f6 | 3759 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3760 | */ |
3761 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3762 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3763 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3764 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3765 | #else |
813fb2f6 | 3766 | #define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER |
39037602 A |
3767 | #endif |
3768 | ||
3769 | /* | |
813fb2f6 | 3770 | * AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3771 | * |
3772 | * Used on declarations introduced in Mac OS X 10.2, | |
813fb2f6 | 3773 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3774 | */ |
3775 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3776 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3777 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3778 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3779 | #else |
813fb2f6 | 3780 | #define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER |
39037602 A |
3781 | #endif |
3782 | ||
3783 | /* | |
813fb2f6 | 3784 | * AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3785 | * |
3786 | * Used on declarations introduced in Mac OS X 10.3, | |
813fb2f6 | 3787 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3788 | */ |
3789 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3790 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3791 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3792 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3793 | #else |
813fb2f6 | 3794 | #define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER |
39037602 A |
3795 | #endif |
3796 | ||
3797 | /* | |
813fb2f6 | 3798 | * AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3799 | * |
3800 | * Used on declarations introduced in Mac OS X 10.4, | |
813fb2f6 | 3801 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3802 | */ |
3803 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3804 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3805 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3806 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3807 | #else |
813fb2f6 | 3808 | #define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER |
39037602 A |
3809 | #endif |
3810 | ||
3811 | /* | |
813fb2f6 | 3812 | * AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3813 | * |
3814 | * Used on declarations introduced in Mac OS X 10.5, | |
813fb2f6 | 3815 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3816 | */ |
3817 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3818 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3819 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3820 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3821 | #else |
813fb2f6 | 3822 | #define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER |
39037602 A |
3823 | #endif |
3824 | ||
3825 | /* | |
813fb2f6 | 3826 | * AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3827 | * |
3828 | * Used on declarations introduced in Mac OS X 10.6, | |
813fb2f6 | 3829 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3830 | */ |
3831 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3832 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3833 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3834 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3835 | #else |
813fb2f6 | 3836 | #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER |
39037602 A |
3837 | #endif |
3838 | ||
3839 | /* | |
813fb2f6 | 3840 | * AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3841 | * |
3842 | * Used on declarations introduced in Mac OS X 10.7, | |
813fb2f6 | 3843 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3844 | */ |
3845 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3846 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3847 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3848 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3849 | #else |
813fb2f6 | 3850 | #define AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER |
39037602 A |
3851 | #endif |
3852 | ||
3853 | /* | |
813fb2f6 | 3854 | * AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3855 | * |
3856 | * Used on declarations introduced in Mac OS X 10.8, | |
813fb2f6 | 3857 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3858 | */ |
3859 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3860 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_8, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3861 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3862 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3863 | #else |
813fb2f6 | 3864 | #define AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER |
39037602 A |
3865 | #endif |
3866 | ||
3867 | /* | |
813fb2f6 | 3868 | * AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3869 | * |
3870 | * Used on declarations introduced in Mac OS X 10.9, | |
813fb2f6 | 3871 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3872 | */ |
3873 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3874 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_9, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3875 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3876 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3877 | #else |
813fb2f6 | 3878 | #define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER |
39037602 A |
3879 | #endif |
3880 | ||
3881 | /* | |
813fb2f6 | 3882 | * AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3883 | * |
3884 | * Used on declarations introduced in Mac OS X 10.10, | |
813fb2f6 | 3885 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3886 | */ |
3887 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3888 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3889 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3890 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3891 | #else |
813fb2f6 | 3892 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER |
39037602 A |
3893 | #endif |
3894 | ||
3895 | /* | |
813fb2f6 | 3896 | * AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3897 | * |
3898 | * Used on declarations introduced in Mac OS X 10.10.2, | |
813fb2f6 | 3899 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3900 | */ |
3901 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3902 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_2, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3903 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3904 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3905 | #else |
813fb2f6 | 3906 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_10_2_AND_LATER |
39037602 A |
3907 | #endif |
3908 | ||
3909 | /* | |
813fb2f6 | 3910 | * AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3911 | * |
3912 | * Used on declarations introduced in Mac OS X 10.10.3, | |
813fb2f6 | 3913 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3914 | */ |
3915 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3916 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_10_3, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3917 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3918 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3919 | #else |
813fb2f6 | 3920 | #define AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_10_3_AND_LATER |
39037602 A |
3921 | #endif |
3922 | ||
3923 | /* | |
813fb2f6 | 3924 | * AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 A |
3925 | * |
3926 | * Used on declarations introduced in Mac OS X 10.11, | |
813fb2f6 | 3927 | * but later deprecated in Mac OS X 10.12.4 |
39037602 A |
3928 | */ |
3929 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3930 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3931 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3932 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3933 | #else |
813fb2f6 | 3934 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER |
39037602 A |
3935 | #endif |
3936 | ||
3937 | /* | |
813fb2f6 | 3938 | * AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 |
39037602 | 3939 | * |
813fb2f6 A |
3940 | * Used on declarations introduced in Mac OS X 10.11.2, |
3941 | * but later deprecated in Mac OS X 10.12.4 | |
39037602 A |
3942 | */ |
3943 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
813fb2f6 A |
3944 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_2, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) |
3945 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3946 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
39037602 | 3947 | #else |
813fb2f6 A |
3948 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_11_2_AND_LATER |
3949 | #endif | |
3950 | ||
3951 | /* | |
3952 | * AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 | |
3953 | * | |
3954 | * Used on declarations introduced in Mac OS X 10.11.3, | |
3955 | * but later deprecated in Mac OS X 10.12.4 | |
3956 | */ | |
3957 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3958 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_3, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) | |
3959 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3960 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
3961 | #else | |
3962 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_11_3_AND_LATER | |
3963 | #endif | |
3964 | ||
3965 | /* | |
3966 | * AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 | |
3967 | * | |
3968 | * Used on declarations introduced in Mac OS X 10.11.4, | |
3969 | * but later deprecated in Mac OS X 10.12.4 | |
3970 | */ | |
3971 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3972 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_11_4, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) | |
3973 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3974 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
3975 | #else | |
3976 | #define AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_11_4_AND_LATER | |
3977 | #endif | |
3978 | ||
3979 | /* | |
3980 | * AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 | |
3981 | * | |
3982 | * Used on declarations introduced in Mac OS X 10.12, | |
3983 | * but later deprecated in Mac OS X 10.12.4 | |
3984 | */ | |
3985 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
3986 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) | |
3987 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
3988 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
3989 | #else | |
3990 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER | |
3991 | #endif | |
3992 | ||
3993 | /* | |
3994 | * AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 | |
3995 | * | |
3996 | * Used on declarations introduced in Mac OS X 10.12.1, | |
3997 | * but later deprecated in Mac OS X 10.12.4 | |
3998 | */ | |
3999 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
4000 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12_1, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) | |
4001 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
4002 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
4003 | #else | |
4004 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_12_1_AND_LATER | |
4005 | #endif | |
4006 | ||
4007 | /* | |
4008 | * AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 | |
4009 | * | |
4010 | * Used on declarations introduced in Mac OS X 10.12.2, | |
4011 | * but later deprecated in Mac OS X 10.12.4 | |
4012 | */ | |
4013 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
4014 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12_2, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) | |
4015 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
4016 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 DEPRECATED_ATTRIBUTE | |
4017 | #else | |
4018 | #define AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4 AVAILABLE_MAC_OS_X_VERSION_10_12_2_AND_LATER | |
4019 | #endif | |
4020 | ||
4021 | /* | |
4022 | * DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4_AND_LATER | |
4023 | * | |
4024 | * Used on types deprecated in Mac OS X 10.12.4 | |
4025 | */ | |
4026 | #if __AVAILABILITY_MACROS_USES_AVAILABILITY | |
4027 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4_AND_LATER __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_12_4, __IPHONE_4_0, __IPHONE_4_0) | |
4028 | #elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12_4 | |
4029 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4_AND_LATER DEPRECATED_ATTRIBUTE | |
4030 | #else | |
4031 | #define DEPRECATED_IN_MAC_OS_X_VERSION_10_12_4_AND_LATER | |
39037602 A |
4032 | #endif |
4033 | ||
4034 | ||
316670eb A |
4035 | |
4036 | ||
6d2010ae A |
4037 | #endif /* __AVAILABILITYMACROS__ */ |
4038 | ||
4039 |