Index: third_party/harfbuzz-ng/src/hb-shaper.cc |
diff --git a/third_party/harfbuzz-ng/src/hb-shaper.cc b/third_party/harfbuzz-ng/src/hb-shaper.cc |
index 6ae260138211abc80f86a0118f804caa410128cf..580b95c84b4d0d30d9da923a6349d6a34a3ebeb6 100644 |
--- a/third_party/harfbuzz-ng/src/hb-shaper.cc |
+++ b/third_party/harfbuzz-ng/src/hb-shaper.cc |
@@ -40,12 +40,14 @@ static const hb_shaper_pair_t all_shapers[] = { |
static const hb_shaper_pair_t *static_shapers; |
-static inline |
+#ifdef HB_USE_ATEXIT |
+static |
void free_static_shapers (void) |
{ |
if (unlikely (static_shapers != all_shapers)) |
free ((void *) static_shapers); |
} |
+#endif |
const hb_shaper_pair_t * |
_hb_shapers_get (void) |