Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coretext: fix building with 10.5 SDK
Turns out MacOSX10.5.sdk also defines __MAC_10_6 (but not MAC_OS_X_VERSION_10_6 or kCTFontURLAttribute). Looking back, I switched from AvailabilityMacros.h to Availability.h late in the development of libass#595, and this switch may have gone untested back then. This has been reported to successfuly compile more recently, and this is a mystery, but it's possible that the reporter inadvertently tested code with additional local changes that worked around this. Fixes: libass#837
- Loading branch information