diff --git a/idd/LGIddHelper/CWidget.h b/idd/LGIddHelper/CWidget.h index a50f5905..ff1c6f77 100644 --- a/idd/LGIddHelper/CWidget.h +++ b/idd/LGIddHelper/CWidget.h @@ -1,6 +1,5 @@ #pragma once -#define WIN32_LEAN_AND_MEAN #include class CWidget { diff --git a/idd/LGIddHelper/CWindow.h b/idd/LGIddHelper/CWindow.h index 8a23d95d..30bf2f6a 100644 --- a/idd/LGIddHelper/CWindow.h +++ b/idd/LGIddHelper/CWindow.h @@ -1,6 +1,5 @@ #pragma once -#define WIN32_LEAN_AND_MEAN #include #include diff --git a/idd/LGIddHelper/LGIddHelper.vcxproj b/idd/LGIddHelper/LGIddHelper.vcxproj index 998c8f73..f8b796af 100644 --- a/idd/LGIddHelper/LGIddHelper.vcxproj +++ b/idd/LGIddHelper/LGIddHelper.vcxproj @@ -75,7 +75,7 @@ Level3 true - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions) true $(SolutionDir)LGCommon;%(AdditionalIncludeDirectories) @@ -99,7 +99,7 @@ copy /Y "$(ProjectDir)VERSION" "$(SolutionDir)$(Platform)\$(Configuration)\LGIdd true true true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + WIN32;NDEBUG;_CONSOLE;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions) true $(SolutionDir)LGCommon;%(AdditionalIncludeDirectories) @@ -123,7 +123,7 @@ copy /Y "$(ProjectDir)VERSION" "$(SolutionDir)$(Platform)\$(Configuration)\LGIdd Level3 true - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + _DEBUG;_CONSOLE;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions) true Default Default @@ -151,7 +151,7 @@ copy /Y "$(ProjectDir)VERSION" "$(SolutionDir)$(Platform)\$(Configuration)\LGIdd true true true - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions) true Default Default