Consistency in Windows ifdefs/windows.h includes

Changing all defined(_WINDOWS) to defined(_WIN32)

Defining WIN32_LEAN_AND_MEAN in all files except those in Archutils/Win32
This commit is contained in:
sukibaby
2024-06-24 15:48:05 -07:00
committed by teejusb
parent 65fe06bcd3
commit 0447d9ae58
34 changed files with 84 additions and 69 deletions
+2 -1
View File
@@ -5,9 +5,10 @@
#include <vector>
#if defined(_WINDOWS)
#if defined(_WIN32)
#include "archutils/Win32/ErrorStrings.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
/* Convert from the given codepage to UTF-8. Return true if successful. */