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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user