[icu] Remove support for versions older than 49
It just doesn't make sense anymore, c9e5da8ded (r41018112)
This commit is contained in:
parent
0b74aaece7
commit
d1f1301490
|
@ -242,11 +242,9 @@ static struct hb_icu_unicode_funcs_lazy_loader_t : hb_unicode_funcs_lazy_loader_
|
||||||
static hb_unicode_funcs_t *create ()
|
static hb_unicode_funcs_t *create ()
|
||||||
{
|
{
|
||||||
void *user_data = nullptr;
|
void *user_data = nullptr;
|
||||||
#if U_ICU_VERSION_MAJOR_NUM >= 49
|
|
||||||
UErrorCode icu_err = U_ZERO_ERROR;
|
UErrorCode icu_err = U_ZERO_ERROR;
|
||||||
user_data = (void *) unorm2_getNFCInstance (&icu_err);
|
user_data = (void *) unorm2_getNFCInstance (&icu_err);
|
||||||
assert (user_data);
|
assert (user_data);
|
||||||
#endif
|
|
||||||
|
|
||||||
hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr);
|
hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue