aboutsummaryrefslogtreecommitdiff
path: root/libbutl/host-os-release.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/host-os-release.hxx')
-rw-r--r--libbutl/host-os-release.hxx13
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", {}, "", "",