]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
include/qemu/osdep.h: Bump _WIN32_WINNT to the Windows 8 API
authorThomas Huth <thuth@redhat.com>
Thu, 4 May 2023 08:13:51 +0000 (10:13 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 May 2023 14:35:30 +0000 (16:35 +0200)
Commit cf60ccc330 ("cutils: Introduce bundle mechanism") abandoned
compatibility with Windows older than 8 - we should reflect this
in our _WIN32_WINNT and set it to the value that corresponds to
Windows 8.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230504081351.125140-1-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/osdep.h

index 9eff0be95bd5c90ed7ee70ee3b561361bc65943d..cc61b00ba9b7e6c0c2e0b72fb328e655d0fc8f4c 100644 (file)
@@ -75,7 +75,7 @@ QEMU_EXTERN_C int daemon(int, int);
 #ifdef _WIN32
 /* as defined in sdkddkver.h */
 #ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0601 /* Windows 7 API (should be in sync with glib) */
+#define _WIN32_WINNT 0x0602 /* Windows 8 API (should be >= the one from glib) */
 #endif
 /* reduces the number of implicitly included headers */
 #ifndef WIN32_LEAN_AND_MEAN