commit | 91b779e23cbaea5d9e3176f3a2c05b8ec10c89fb | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Fri Jan 28 13:52:15 2022 -0700 |
committer | Behdad Esfahbod <[email protected]> | Fri Jan 28 13:52:15 2022 -0700 |
tree | b99d60c3fddc0e3f50372d8f6f4d21255d443a08 | |
parent | fa29006bfa3d5f84182b3a1c259ef4a3634da6b7 [diff] [blame] |
Avoid redefinition of HB_NO_SETLOCALE in certain configs
diff --git a/src/hb-common.cc b/src/hb-common.cc index a6775f7..249a8a8 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc
@@ -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