[Darwin, fixincludes] Fix PR83531
authorC.G. Dogan <gcc+cgdogan.00@gmail.com>
Sun, 18 Aug 2019 18:54:13 +0000 (18:54 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 18 Aug 2019 18:54:13 +0000 (18:54 +0000)
commit5c439f4d675813d18876b191137dcd5849bd6e7e
tree24fde358f394cd6063a23fb9c7a845d4be760259
parentda92beb3726e8acafe0301fdf0d3381a33d0ccd4
[Darwin, fixincludes] Fix PR83531

There is no reasonable chance that the SDKs in question will be re-
issued, so the only viable solution is a fixincludes.

2019-08-18  C.G. Dogan <gcc+cgdogan.00@gmail.com>
    Iain Sandoe  <iain@sandoe.co.uk>

PR target/83531
* inclhack.def (darwin_api_availability): New, strip leading
underscores from API_XXXX defines.
* fixincl.x: Regenerate.
* tests/base/os/availability.h: New file.

Co-Authored-By: Iain Sandoe <iain@sandoe.co.uk>
From-SVN: r274624
fixincludes/ChangeLog
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/os/availability.h [new file with mode: 0644]