diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-13 13:08:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-13 13:08:19 +0200 |
commit | f1aada8cc6419c3c9934fa880c8f6e5c59e23385 (patch) | |
tree | c38f275a43b0e73d9e96946fb47c4300b2eb4c2f /libbutl/host-os-release.hxx | |
parent | 5537c333656c193e352d9606d4cd1e5c52bbe94a (diff) |
Windowsos-release
Diffstat (limited to 'libbutl/host-os-release.hxx')
-rw-r--r-- | libbutl/host-os-release.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
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", {}, "", "", |