Skip to content

Commit c092c99

Browse files
committed
config-win32.h: bump to Win7 and VS02010
VS2008 does not support Win7 (at least initially, I did not dig deeper) so must bump to VS2010, which was planned already in a separate PR. That PR will be merged first.
1 parent ed6d969 commit c092c99

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/config-win32.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@
3333
/* Define some minimum and default build targets for Visual Studio */
3434
#ifdef _MSC_VER
3535
/* Default target settings and minimum build target check for
36-
VS2008 and VS2010. The minimum and default build targets for VS2012
36+
VS2010. The minimum and default build targets for VS2012
3737
are Vista and 8, respectively */
38-
# define VS2008_MIN_TARGET 0x0600 /* Vista */
39-
# define VS2008_DEF_TARGET 0x0600 /* Vista */
38+
# define VS2010_MIN_TARGET 0x0601 /* 7 */
39+
# define VS2010_DEF_TARGET 0x0601 /* 7 */
4040

4141
# ifndef _WIN32_WINNT
42-
# define _WIN32_WINNT VS2008_DEF_TARGET
42+
# define _WIN32_WINNT VS2010_DEF_TARGET
4343
# endif
4444
# ifndef WINVER
45-
# define WINVER VS2008_DEF_TARGET
45+
# define WINVER VS2010_DEF_TARGET
4646
# endif
47-
# if (_WIN32_WINNT < VS2008_MIN_TARGET) || (WINVER < VS2008_MIN_TARGET)
48-
# error Visual Studio does not support build targets prior to Windows Vista
47+
# if (_WIN32_WINNT < VS2010_MIN_TARGET) || (WINVER < VS2010_MIN_TARGET)
48+
# error Visual Studio does not support build targets prior to Windows 7
4949
# endif
5050
#endif /* _MSC_VER */
5151

0 commit comments

Comments
 (0)