From 22defe0965adddaa09eebc13df7fa6c64e2abba3 Mon Sep 17 00:00:00 2001 From: Emil A Eklund Date: Tue, 14 Aug 2018 14:47:20 -0700 Subject: [PATCH] Add guard around free_static_C_locale Add HB_USE_ATEXIT guard around free_static_C_locale missed by previous commit. --- src/hb-common.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-common.cc b/src/hb-common.cc index 22dd52f49..614b71b7f 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc @@ -731,8 +731,9 @@ parse_uint32 (const char **pp, const char *end, uint32_t *pv) #ifdef USE_XLOCALE - +#ifdef HB_USE_ATEXIT static void free_static_C_locale (void); +#endif static struct hb_C_locale_lazy_loader_t : hb_lazy_loader_t::value, hb_C_locale_lazy_loader_t>