From 791a1bf3a4e356d9ea0222e3ed6bc6b56011c64d Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 27 Jul 2021 15:22:13 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20disable=20getenv=20on=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The condition is inverted, regression from 40ec187dec07e97ed4004b9831e7be844e6e7948. --- src/hb.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb.hh b/src/hb.hh index 558fea495..052cabed9 100644 --- a/src/hb.hh +++ b/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