[coretext] Properly check for macOS 10.10 Fixes https://github.com/harfbuzz/harfbuzz/issues/2452
diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index 76e00fd..7b6b2bd 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc
@@ -514,7 +514,7 @@ { active_feature_t feature; -#if MAC_OS_X_VERSION_MIN_REQUIRED < 1010 +#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 const hb_aat_feature_mapping_t * mapping = hb_aat_layout_find_feature_mapping (features[i].tag); if (!mapping) continue; @@ -573,7 +573,7 @@ /* active_features.qsort (); */ for (unsigned int j = 0; j < active_features.length; j++) { -#if MAC_OS_X_VERSION_MIN_REQUIRED < 1010 +#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 CFStringRef keys[] = { kCTFontFeatureTypeIdentifierKey, kCTFontFeatureSelectorIdentifierKey