From 5c8900efe43c0f408a8683bfd2be274cd0dac8c4 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Mon, 8 Jun 2020 02:29:04 +0200 Subject: [PATCH] [coretext] Properly check for macOS 10.10 Fixes https://github.com/harfbuzz/harfbuzz/issues/2452 --- src/hb-coretext.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index 76e00fd5c..7b6b2bd5e 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc @@ -514,7 +514,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan, { 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 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan, /* 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