From af1aa362cacc652ab8ffda05a5d98a3ff5430439 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 14 Mar 2014 15:52:47 -0700 Subject: [PATCH] If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks Useful for Android / Chrome / etc when ICU is built in the same library as harfbuzz itself. --- src/hb-unicode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-unicode.cc b/src/hb-unicode.cc index 5b44913bd..ed99ca211 100644 --- a/src/hb-unicode.cc +++ b/src/hb-unicode.cc @@ -133,7 +133,7 @@ hb_unicode_funcs_get_default (void) #ifdef HAVE_GLIB HB_UNICODE_FUNCS_IMPLEMENT(glib) -#elif 0 && defined(HAVE_ICU) +#elif defined(HAVE_ICU) && defined(HAVE_ICU_BUILTIN) HB_UNICODE_FUNCS_IMPLEMENT(icu) #elif defined(HAVE_UCDN) HB_UNICODE_FUNCS_IMPLEMENT(ucdn)