Avoid redefinition of HB_NO_SETLOCALE in certain configs

This commit is contained in:
Behdad Esfahbod 2022-01-28 13:52:15 -07:00
parent fa29006bfa
commit 91b779e23c
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
#include "hb.hh"
#include "hb-machinery.hh"
#if !defined(HAVE_NEWLOCALE) || !defined(HAVE_USELOCALE)
#if !defined(HB_NO_SETLOCALE) && (!defined(HAVE_NEWLOCALE) || !defined(HAVE_USELOCALE))
#define HB_NO_SETLOCALE 1
#endif