https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531
--- Comment #13 from Iain Sandoe <iains at gcc dot gnu.org> --- Author: iains Date: Wed Aug 21 19:18:14 2019 New Revision: 274807 URL: https://gcc.gnu.org/viewcvs?rev=274807&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-21 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-9-branch/fixincludes/tests/base/os/availability.h Modified: branches/gcc-9-branch/fixincludes/ChangeLog branches/gcc-9-branch/fixincludes/fixincl.x branches/gcc-9-branch/fixincludes/inclhack.def