You've already forked macports-legacy-support
mirror of
https://github.com/macports/macports-legacy-support.git
synced 2026-07-13 03:18:41 -07:00
18b61ef47b
Updates the "normal" SDK version determination to handle SDK versions 16 (never actually issued) and 26. Apple again failed to update AvailabilityMacros.h for the 26.0 SDK, so it still appears to be a 14.x SDK. This updates the workaround. Also updates the list of version macros to undefine when needed. Also updates the MacTypes.h hack for SDK 26. The condition for the __has_include() workaround in MacTypes.h uses a both-ways SDK version check to avoid accidentally being applied inappropriately to a future SDK. But SDK 26 still needs the same fix, so we update the range. TESTED: The checksdkversion test now reports correct results for all available SDKs (10.4-26.0). All OS Xcode compilers, as well as all others tested, still successfully build IOKit/usb/USB.h from all SDKs.