From 1f94388516befe137d265c261f687a47ce6f8e69 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Tue, 16 Jul 2019 11:24:29 +0430 Subject: [PATCH] [usp] define atfree callback only if used --- src/hb-uniscribe.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc index 5c7ff8744..b113ed4cf 100644 --- a/src/hb-uniscribe.cc +++ b/src/hb-uniscribe.cc @@ -245,8 +245,9 @@ struct hb_uniscribe_shaper_funcs_t } }; - +#if HB_USE_ATEXIT static void free_static_uniscribe_shaper_funcs (); +#endif static struct hb_uniscribe_shaper_funcs_lazy_loader_t : hb_lazy_loader_t