aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-05-04 10:13:51 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-05-08 16:35:30 +0200
commit8cbfc530bc10a72874ab241faaba8c56e5515532 (patch)
treee1a4b583bf4d911a64b659fb5f28d0a7ac728e60 /include/qemu
parent2f38ff79abac8a0b779e73a025af0d0ec8911a7e (diff)
downloadqemu-8cbfc530bc10a72874ab241faaba8c56e5515532.zip
qemu-8cbfc530bc10a72874ab241faaba8c56e5515532.tar.gz
qemu-8cbfc530bc10a72874ab241faaba8c56e5515532.tar.bz2
include/qemu/osdep.h: Bump _WIN32_WINNT to the Windows 8 API
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>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/osdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 9eff0be..cc61b00 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -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