commit | 487879e013758aef2c7f824033a40cd56361d240 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Fri May 24 12:37:53 2019 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Fri May 24 14:35:26 2019 -0400 |
tree | aa25e18a9c60d655ae44811584c3c275129047f6 | |
parent | 1fffe51a295b6106a442bed8107d305c325bef05 [diff] [blame] |
Don't compile in UCD if HB_NO_UCD defined
diff --git a/src/hb-ucd.cc b/src/hb-ucd.cc index e744664..134e043 100644 --- a/src/hb-ucd.cc +++ b/src/hb-ucd.cc
@@ -205,5 +205,8 @@ hb_unicode_funcs_t * hb_ucd_get_unicode_funcs () { +#ifdef HB_NO_UCD + return hb_unicode_funcs_get_empty (); +#endif return static_ucd_funcs.get_unconst (); }