https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531
--- Comment #15 from Iain Sandoe <iains at gcc dot gnu.org> --- Author: iains Date: Sun Aug 25 19:31:47 2019 New Revision: 274913 URL: https://gcc.gnu.org/viewcvs?rev=274913&root=gcc&view=rev Log: [Darwin, fixincludes] Backport fix for 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-24 Iain Sandoe <i...@sandoe.co.uk> Backport from mainline. 2019-08-18 C.G. Dogan <gcc+cgdogan...@gmail.com> Iain Sandoe <i...@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. Added: branches/gcc-8-branch/fixincludes/tests/base/os/availability.h Modified: branches/gcc-8-branch/fixincludes/ChangeLog branches/gcc-8-branch/fixincludes/fixincl.x branches/gcc-8-branch/fixincludes/inclhack.def