From d1f13014906d2540ea3f3e6f2aa2781e1314a869 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Thu, 30 Jul 2020 02:01:43 +0430 Subject: [PATCH] [icu] Remove support for versions older than 49 It just doesn't make sense anymore, https://github.com/harfbuzz/harfbuzz/commit/c9e5da8ded390b816613839214fe96137ca0a0a2#r41018112 --- src/hb-icu.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hb-icu.cc b/src/hb-icu.cc index 4d34d1926..008a39e41 100644 --- a/src/hb-icu.cc +++ b/src/hb-icu.cc @@ -242,11 +242,9 @@ static struct hb_icu_unicode_funcs_lazy_loader_t : hb_unicode_funcs_lazy_loader_ static hb_unicode_funcs_t *create () { void *user_data = nullptr; -#if U_ICU_VERSION_MAJOR_NUM >= 49 UErrorCode icu_err = U_ZERO_ERROR; user_data = (void *) unorm2_getNFCInstance (&icu_err); assert (user_data); -#endif hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr);