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 -2
View File
@@ -9,7 +9,7 @@
#include <map>
#include <vector>
#if defined(_WINDOWS)
#if defined(_WIN32)
#include <windows.h>
#endif
@@ -183,7 +183,7 @@ void RageLog::SetShowLogOutput( bool show )
{
m_bShowLogOutput = show;
#if defined(WIN32)
#if defined(_WIN32)
if( m_bShowLogOutput )
{
// create a new console window and attach standard handles