From f1aada8cc6419c3c9934fa880c8f6e5c59e23385 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Mar 2023 13:08:19 +0200 Subject: Windows --- libbutl/host-os-release.hxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libbutl/host-os-release.hxx') diff --git a/libbutl/host-os-release.hxx b/libbutl/host-os-release.hxx index 9fd24a2..058afdc 100644 --- a/libbutl/host-os-release.hxx +++ b/libbutl/host-os-release.hxx @@ -38,6 +38,19 @@ namespace butl // Note that for Mac OS, the version is the Mac OS version (as printed by // sw_vers) rather than Darwin version (as printed by uname). // + // For Windows we currently do not distinguish the Server edition and the + // version mapping is as follows: + // + // Windows 11 11 + // Windows 10 10 + // Windows 8.1 8.1 + // Windows 8 8 + // Windows 7 7 + // Windows Vista 6 + // Windows XP Pro/64-bit 5.2 + // Windows XP 5.1 + // Windows 2000 5 + // // Note that version_id may be empty, for example, on Debian testing: // // {"debian", {}, "", "", -- cgit v1.1