From 56f0fde7c67ef53363d102b0cc22c65e8f3b9a70 Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev Date: Thu, 5 Sep 2024 05:54:03 +0200 Subject: [PATCH] util/compat: fix windows UNICODE defines --- src/util/compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/compat.h b/src/util/compat.h index fe7c4be5..edafa0ca 100644 --- a/src/util/compat.h +++ b/src/util/compat.h @@ -52,10 +52,10 @@ // Make sure we get the "unicode" (actually UTF-16) versions of win32 APIs; it defaults to legacy crippled ones. #ifndef UNICODE - #define UNICODE + #define UNICODE 1 #endif #ifndef _UNICODE - #define _UNICODE + #define _UNICODE 1 #endif // Ask windows.h to include a little bit less of the stupid crap we'll never use.