[Slirp] [PATCH] src/slirp.h: Bump the minimum Windows version to Windows 7

Thomas Huth thuth at redhat.com
Mon May 16 09:04:10 UTC 2022


Windows Vista is not supported by its vendor anymore. Additionally,
glib uses 0x0601 as setting for _WIN32_WINNT since version 2.53.6
already, so unless libslirp is used with a very old version of glib,
we are depending on Windows 7 anyway.

Signed-off-by: Thomas Huth <thuth at redhat.com>
---
 src/slirp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/slirp.h b/src/slirp.h
index a61ea15..d803207 100644
--- a/src/slirp.h
+++ b/src/slirp.h
@@ -6,7 +6,7 @@
 
 /* as defined in sdkddkver.h */
 #ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0600 /* Vista */
+#define _WIN32_WINNT 0x0601 /* Windows 7 */
 #endif
 /* reduces the number of implicitly included headers */
 #ifndef WIN32_LEAN_AND_MEAN
-- 
2.27.0



More information about the Slirp mailing list