util/compat: fix windows UNICODE defines

This commit is contained in:
Andrei Alexeyev 2024-09-05 05:54:03 +02:00
parent 8ad74bf62f
commit 56f0fde7c6
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

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