summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libusb/os/windows_common.c5
-rw-r--r--libusb/os/windows_common.h3
-rw-r--r--libusb/version_nano.h2
3 files changed, 6 insertions, 4 deletions
diff --git a/libusb/os/windows_common.c b/libusb/os/windows_common.c
index eefd01e..e3d93cb 100644
--- a/libusb/os/windows_common.c
+++ b/libusb/os/windows_common.c
@@ -391,11 +391,12 @@ static enum windows_version get_windows_version(void)
case 0x63: winver = WINDOWS_8_1; w = (ws ? "8.1" : "2012_R2"); break;
case 0x64: // Early Windows 10 Insider Previews and Windows Server 2017 Technical Preview 1 used version 6.4
case 0xA0: winver = WINDOWS_10; w = (ws ? "10" : "2016"); break;
+ case 0xB0: winver = WINDOWS_11; w = (ws ? "11" : "2022"); break;
default:
if (version < 0x50)
return WINDOWS_UNDEFINED;
- winver = WINDOWS_11_OR_LATER;
- w = "11 or later";
+ winver = WINDOWS_12_OR_LATER;
+ w = "12 or later";
}
arch = is_x64() ? "64-bit" : "32-bit";
diff --git a/libusb/os/windows_common.h b/libusb/os/windows_common.h
index 792a31e..4582ce4 100644
--- a/libusb/os/windows_common.h
+++ b/libusb/os/windows_common.h
@@ -153,7 +153,8 @@ enum windows_version {
WINDOWS_8,
WINDOWS_8_1,
WINDOWS_10,
- WINDOWS_11_OR_LATER
+ WINDOWS_11,
+ WINDOWS_12_OR_LATER
};
extern enum windows_version windows_version;
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 65127d8..375e693 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11703
+#define LIBUSB_NANO 11704