Revert "config-win32.h: drop setting WINVER"

This reverts commit 350a647261eb3c7f0d625bf6ae869fd80eb3f04c.
This commit is contained in:
Viktor Szakats 2025-07-21 11:43:11 +02:00
parent b8e80ce6d0
commit 93e350af51
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -48,7 +48,10 @@
# ifndef _WIN32_WINNT
# define _WIN32_WINNT VS2012_DEF_TARGET
# endif
# if _WIN32_WINNT < VS2012_MIN_TARGET
# ifndef WINVER
# define WINVER VS2012_DEF_TARGET
# endif
# if (_WIN32_WINNT < VS2012_MIN_TARGET) || (WINVER < VS2012_MIN_TARGET)
# ifdef _USING_V110_SDK71_
# error VS2012 does not support build targets prior to Windows XP
# else
@ -66,7 +69,10 @@
# ifndef _WIN32_WINNT
# define _WIN32_WINNT VS2008_DEF_TARGET
# endif
# if _WIN32_WINNT < VS2008_MIN_TARGET
# ifndef WINVER
# define WINVER VS2008_DEF_TARGET
# endif
# if (_WIN32_WINNT < VS2008_MIN_TARGET) || (WINVER < VS2008_MIN_TARGET)
# error VS2008 does not support build targets prior to Windows XP
# endif
# endif