111
|
1 /* DO NOT EDIT THIS FILE.
|
|
2
|
|
3 It has been auto-edited by fixincludes from:
|
|
4
|
|
5 "fixinc/tests/inc/AvailabilityInternal.h"
|
|
6
|
|
7 This had to be done to correct non-standard usages in the
|
|
8 original, manufacturer supplied header file. */
|
|
9
|
|
10
|
|
11
|
|
12 #if defined( DARWIN_AVAILABILITYINTERNAL_CHECK )
|
|
13 #if defined(__has_attribute)
|
|
14 #if __has_attribute(availability)
|
|
15 #define __API_A(x) __attribute__((availability(__API_AVAILABLE_PLATFORM_##x)))
|
|
16 #else
|
|
17 #define __API_A(x)
|
|
18 #endif
|
|
19 #else
|
|
20 #define __API_A(x)
|
|
21 #endif
|
|
22 #if defined(__has_attribute)
|
|
23 #if __has_attribute(availability)
|
|
24 #define __API_D(msg,x) __attribute__((availability(__API_DEPRECATED_PLATFORM_##x,message=msg)))
|
|
25 #else
|
|
26 #define __API_D(msg,x)
|
|
27 #endif
|
|
28 #else
|
|
29 #define __API_D(msg,x)
|
|
30 #endif
|
|
31 #endif /* DARWIN_AVAILABILITYINTERNAL_CHECK */
|