Don’t disable getenv on Windows

The condition is inverted, regression from
40ec187dec.
pull/3079/head
Khaled Hosny 3 years ago
parent 163748b505
commit 791a1bf3a4
  1. 2
      src/hb.hh

@ -383,7 +383,7 @@ extern "C" void hb_free_impl(void *ptr);
# define HB_NO_SETLOCALE
# define HB_NO_ERRNO
# endif
# elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
# elif !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
# ifndef HB_NO_GETENV
# define HB_NO_GETENV
# endif

Loading…
Cancel
Save