From c9ee520e5a9c4cd46b70de67c5cc989fd5fbc272 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 1 May 2023 15:29:37 +0300 Subject: [PATCH] W32 VS projects: fixed: define 'WIN32' only on x32 platforms --- w32/common/common-build-settings.vcxproj | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/w32/common/common-build-settings.vcxproj b/w32/common/common-build-settings.vcxproj index 4692b8aa..f6106c49 100644 --- a/w32/common/common-build-settings.vcxproj +++ b/w32/common/common-build-settings.vcxproj @@ -5,6 +5,8 @@ Only 0 and 1 are used currently --> 0 1 + 64 + 32 $(SolutionDir);$(MhdW32Common);$(MhdSrc)include;$(IncludePath) @@ -23,8 +25,8 @@ NotUsing Level3 - WIN32;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - 4996 + _CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + 4996;4820;4127;5045 4013 $(IntDir)$(TargetName).pdb ProgramDatabase @@ -34,6 +36,11 @@ true + + + WIN32;%(PreprocessorDefinitions) + + _WIN32_WINNT=0x0600;%(PreprocessorDefinitions)