mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-11-28 04:19:55 +08:00
97448adf21
fixincludes: PR sanitizer/78267 * inclhack.def (darwin_availabilityinternal, darwin_os_trace_1) (darwin_os_trace_2, darwin_os_trace_3): New fixes. (hpux_stdint_least_fast): Remove spurious _EOFix_. * fixincl.x: Regenerate. * tests/bases/AvailabilityInternal.h: New file. * tests/bases/os/trace.h: New file. 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com> libsanitizer: PR sanitizer/78267 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if compiler supports blocks extension. From-SVN: r242633
32 lines
802 B
C
32 lines
802 B
C
/* DO NOT EDIT THIS FILE.
|
|
|
|
It has been auto-edited by fixincludes from:
|
|
|
|
"fixinc/tests/inc/AvailabilityInternal.h"
|
|
|
|
This had to be done to correct non-standard usages in the
|
|
original, manufacturer supplied header file. */
|
|
|
|
|
|
|
|
#if defined( DARWIN_AVAILABILITYINTERNAL_CHECK )
|
|
#if defined(__has_attribute)
|
|
#if __has_attribute(availability)
|
|
#define __API_A(x) __attribute__((availability(__API_AVAILABLE_PLATFORM_##x)))
|
|
#else
|
|
#define __API_A(x)
|
|
#endif
|
|
#else
|
|
#define __API_A(x)
|
|
#endif
|
|
#if defined(__has_attribute)
|
|
#if __has_attribute(availability)
|
|
#define __API_D(msg,x) __attribute__((availability(__API_DEPRECATED_PLATFORM_##x,message=msg)))
|
|
#else
|
|
#define __API_D(msg,x)
|
|
#endif
|
|
#else
|
|
#define __API_D(msg,x)
|
|
#endif
|
|
#endif /* DARWIN_AVAILABILITYINTERNAL_CHECK */
|