Fix 22_locale/locale/cons/12658_thread-2.cc on hppa.
[official-gcc.git] / fixincludes / tests / base / AvailabilityInternal.h
blob60b3503f1532ca0a13787334fc33f56c35576dac
1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/AvailabilityInternal.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
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 */