merge VS2010 minimum/default logic and comment

This commit is contained in:
Viktor Szakats 2025-07-13 13:46:23 +02:00
parent 62f9c3a726
commit 6eebc15b42
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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