From bcb7df4f801da29508980fbf2c7dcf433ab4d72b Mon Sep 17 00:00:00 2001
From: chrfranke <chrfranke@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Fri, 13 Dec 2019 20:02:42 +0000
Subject: [PATCH] os_win32.cpp: Decode Windows 10 1909 and Server 1909 build
 number.

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5000 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 smartmontools/ChangeLog    | 4 ++++
 smartmontools/os_win32.cpp | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog
index 6f55c249d..47123ea22 100644
--- a/smartmontools/ChangeLog
+++ b/smartmontools/ChangeLog
@@ -1,5 +1,9 @@
 $Id$
 
+2019-12-13  Christian Franke  <franke@computer.org>
+
+	os_win32.cpp: Decode Windows 10 1909 and Server 1909 build number.
+
 2019-12-10  Alex Samorukov <samm@os2.kiev.ua>
 
 	drivedb.h: Fix SanDisk SSD Plus matching pattern (GH PR 43)
diff --git a/smartmontools/os_win32.cpp b/smartmontools/os_win32.cpp
index dace60b02..282890a5b 100644
--- a/smartmontools/os_win32.cpp
+++ b/smartmontools/os_win32.cpp
@@ -4098,6 +4098,7 @@ std::string win_smart_interface::get_os_version_str()
           case 17134:   w = "w10-1803"; break;
           case 17763:   w = "w10-1809"; break;
           case 18362:   w = "w10-1903"; break;
+          case 18363:   w = "w10-1909"; break;
           default:      w = "w10";
                         build = vi.dwBuildNumber; break;
         } break;
@@ -4108,6 +4109,7 @@ std::string win_smart_interface::get_os_version_str()
           case 17134:   w = "2016-1803"; break;
           case 17763:   w = "2019";      break;
           case 18362:   w = "2019-1903"; break;
+          case 18363:   w = "2019-1909"; break;
           default:      w = (vi.dwBuildNumber < 17763
                           ? "2016"
                           : "2019");
-- 
GitLab