projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c184180
)
[amalgam] Fix redundant-declaration warning/error
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 17 Jul 2019 16:35:56 +0000
(09:35 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 17 Jul 2019 16:35:56 +0000
(09:35 -0700)
src/hb-unicode.cc
patch
|
blob
|
history
diff --git
a/src/hb-unicode.cc
b/src/hb-unicode.cc
index
e2deaa2
..
9a81840
100644
(file)
--- a/
src/hb-unicode.cc
+++ b/
src/hb-unicode.cc
@@
-126,8
+126,12
@@
hb_unicode_decompose_compatibility_nil (hb_unicode_funcs_t *ufuncs HB_UNUSED
}
#endif
-extern "C" hb_unicode_funcs_t *hb_glib_get_unicode_funcs ();
-extern "C" hb_unicode_funcs_t *hb_icu_get_unicode_funcs ();
+#if !defined(HB_NO_UNICODE_FUNCS) && defined(HAVE_GLIB)
+#include "hb-glib.h"
+#endif
+#if !defined(HB_NO_UNICODE_FUNCS) && defined(HAVE_ICU) && defined(HAVE_ICU_BUILTIN)
+#include "hb-icu.h"
+#endif
hb_unicode_funcs_t *
hb_unicode_funcs_get_default ()