From 6eebc15b42df09b21ad6a00dce04c780a696af95 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 13 Jul 2025 13:46:23 +0200 Subject: [PATCH] merge VS2010 minimum/default logic and comment --- lib/config-win32.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/lib/config-win32.h b/lib/config-win32.h index e3048f93c9..675523e18d 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -301,24 +301,18 @@ /* Define some minimum and default build targets for Visual Studio */ #ifdef _MSC_VER # define VS2008_MIN_TARGET 0x0501 /* XP */ - - /* The minimum build target for VS2012 is Vista unless Update 1 is installed - and the v110_xp toolset is chosen. */ -# ifdef _USING_V110_SDK71_ -# define VS2012_MIN_TARGET 0x0501 /* XP */ -# else -# define VS2012_MIN_TARGET 0x0600 /* Vista */ -# endif - /* VS2008 default build target is Windows Vista. We override default target to be Windows XP. */ # define VS2008_DEF_TARGET 0x0501 /* XP */ - /* VS2012 default build target is Windows 8 unless Update 1 is installed - and the v110_xp toolset is chosen. */ + /* The minimum and default build targets for VS2012 are Vista and 8, + respectively, unless Update 1 is installed and the v110_xp toolset + is chosen. */ # ifdef _USING_V110_SDK71_ +# define VS2012_MIN_TARGET 0x0501 /* XP */ # define VS2012_DEF_TARGET 0x0501 /* XP */ # else +# define VS2012_MIN_TARGET 0x0600 /* Vista */ # define VS2012_DEF_TARGET 0x0602 /* 8 */ # endif #endif