]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin, fixincludes: Handle Apple Blocks in objc/runtime.h.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 18 Jan 2023 23:25:36 +0000 (23:25 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 21 May 2023 18:55:25 +0000 (19:55 +0100)
commit0a4550a326e4a299578df92933bcc82084d5b188
tree1d459d154df68b4984b960c9b9e0906951d7e598
parent34608a771216b40307bcbee767605a328265a940
Darwin, fixincludes: Handle Apple Blocks in objc/runtime.h.

The macOS 13 SDK has unguarded Apple Blocks use in objc/runtime.h which
causes most of the objective-c tests to fail.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
fixincludes/ChangeLog:

* fixincl.x: Regenerate.
* inclhack.def (darwin_objc_runtime_1): New hack.
* tests/base/objc/runtime.h: New file.

(cherry picked from commit 046dc9d0d4683bab99d28983d8841ba3c56ef744)
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/objc/runtime.h [new file with mode: 0644]