Fix missing macro definitions in apple-apple-apple build.#590
Fix missing macro definitions in apple-apple-apple build.#590iamleeg wants to merge 1 commit intognustep:masterfrom
Conversation
Signed-off-by: Graham Lee <grahamlee@acm.org>
|
Thanks, I've gone a different way because the fast enumeration changes were really a much more extensive work in progress, and I hadn't realised that I'd left the OSX base additions build in a broken state. |
|
I forgot to say: thanks very much for spotting the issue, and pointing it out. If you hadn't done that I might have completely forgotten it and left it for ages. |
|
Great, thank you! |
Some GNUstep-specific macros like
GS_FOR_INandGS_FOR_ENDwere defined in Foundation headers, likeFoundation/NSEnumerator.h. On macOS, these headers don't get found because they shadow the Apple headers with the same name, so the build fails. This PR pulls those macros into files inGNUstepBaseand imports the new files from their old locations.The base additions library didn't build on macOS (26.3.1 with Xcode 26.3) before these changes, and now does.