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.
This commit is contained in:
Behdad Esfahbod 2014-03-14 15:52:47 -07:00
parent 853daf857f
commit af1aa362ca
1 changed files with 1 additions and 1 deletions

View File

@ -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)