Don’t disable getenv on Windows

The condition is inverted, regression from
40ec187dec.
This commit is contained in:
Khaled Hosny 2021-07-27 15:22:13 +02:00
parent 163748b505
commit 791a1bf3a4
1 changed files with 1 additions and 1 deletions

View File

@ -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