Add guard around free_static_C_locale

Add HB_USE_ATEXIT guard around free_static_C_locale missed by previous
commit.
This commit is contained in:
Emil A Eklund 2018-08-14 14:47:20 -07:00 committed by Behdad Esfahbod
parent 7112c6413c
commit 22defe0965
1 changed files with 2 additions and 1 deletions

View File

@ -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<hb_remove_ptr_t<HB_LOCALE_T>::value,
hb_C_locale_lazy_loader_t>