[Darwin, fixincludes] Fix Darwin14 header issues.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 21 Jun 2019 19:03:45 +0000 (19:03 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 21 Jun 2019 19:03:45 +0000 (19:03 +0000)
commit59a0b1db756fc17b952c8423b015154a7bd23d10
tree4abe4978c16869c56b5e3d6e26351c671ae980dc
parent8d5558c518a8812276aee50cca3da8ca5cce3091
[Darwin, fixincludes] Fix Darwin14 header issues.

There are two issues with the Darwin14 (SDK) headers in which unguarded
advanced syntax elements causes any code including these headers to fail.

2019-06-21  Iain Sandoe  <iain@sandoe.co.uk>

* inclhack.def: Guard __has_attribute and __has_extension in
os/base.h.
Guard Apple blocks syntax in dispatch/object.h.
* fixincl.x: Regenerate.
* tests/base/dispatch/object.h: New file.
* tests/base/os/base.h: New file.

From-SVN: r272561
fixincludes/ChangeLog
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/dispatch/object.h [new file with mode: 0644]
fixincludes/tests/base/os/base.h [new file with mode: 0644]