diff --git a/Core/Libraries/Source/WWVegas/WWDownload/registry.cpp b/Core/Libraries/Source/WWVegas/WWDownload/registry.cpp index bcc35ed43d2..a54d41bc3bf 100644 --- a/Core/Libraries/Source/WWVegas/WWDownload/registry.cpp +++ b/Core/Libraries/Source/WWVegas/WWDownload/registry.cpp @@ -20,12 +20,9 @@ // Simple interface for storing/retrieving registry values // Author: Matthew D. Campbell, December 2001 -#include - -#define WIN32_LEAN_AND_MEAN -#include - #include "Registry.h" +#include +#include "win.h" bool getStringFromRegistry(HKEY root, std::string path, std::string key, std::string& val) { diff --git a/Core/Libraries/Source/WWVegas/WWLib/thread.cpp b/Core/Libraries/Source/WWVegas/WWLib/thread.cpp index 7b30487e27b..f523e894c20 100644 --- a/Core/Libraries/Source/WWVegas/WWLib/thread.cpp +++ b/Core/Libraries/Source/WWVegas/WWLib/thread.cpp @@ -16,7 +16,6 @@ ** along with this program. If not, see . */ -#define _WIN32_WINNT 0x0400 #include "thread.h" #include "Except.h" diff --git a/Generals/Code/Tools/WorldBuilder/include/WHeightMapEdit.h b/Generals/Code/Tools/WorldBuilder/include/WHeightMapEdit.h index e800c2b7913..aa76687e457 100644 --- a/Generals/Code/Tools/WorldBuilder/include/WHeightMapEdit.h +++ b/Generals/Code/Tools/WorldBuilder/include/WHeightMapEdit.h @@ -57,8 +57,6 @@ typedef struct } TGlobalTextureClass; -#define NUM_ALPHA_TILES 8 - class WorldHeightMapEdit : public WorldHeightMap { protected: