From 3d03ea6e27b4b806b371ed43c0df415ef7a04558 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Fri, 1 Dec 2023 16:03:56 -0800 Subject: [PATCH] Fix compat layer. --- win32compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32compat.h b/win32compat.h index 8bb6212..8b78ac8 100644 --- a/win32compat.h +++ b/win32compat.h @@ -2,7 +2,7 @@ #ifdef _WIN32 #include -inline void setenv(char const *variable, char const *value, bool replace) { +inline void setenv(char const *variable, char const *value, char replace) { if (replace || getenv(variable) == NULL || getenv(variable) == "") { if (value == NULL) { _putenv_s(variable, "");