Markus, I've found the answer. Your comment about `MACOSX_DEPLOYMENT_TARGET` is irrelevant. My problem is that I was actually compiling using `gcc`. When I used `clang`, `__isPlatformVersionAtLeast()` got called and `@available` behaved as you say. Your comment about "derailing" was impolite, at the very least. So was your labeling my comments "off-topic". I would now be labeling my own comments "off-topic". But you had no business doing so before I actually got to the bottom of things.
Bug 1941595 Comment 77 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Markus, I've found the answer. Your comment about `MACOSX_DEPLOYMENT_TARGET` is irrelevant. My problem is that I was actually compiling using `gcc`. When I used `clang`, `__isPlatformVersionAtLeast()` got called and `@available` behaved as you say. Your comment about "derailing" was impolite, at the very least. So was your labeling my comments "off-topic" before you understood what I was saying. I would now be labeling my own comments "off-topic". But you had no business doing so before I actually got to the bottom of things.