From e1b775dea50ffc9bc8139ccfcc3eadc4276136f8 Mon Sep 17 00:00:00 2001
From: chrfranke <chrfranke@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Thu, 21 Jun 2018 19:15:30 +0000
Subject: [PATCH] os_win32.cpp: Decode Windows 10 1803 build number.

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

diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog
index a174f51fe..02ccf0856 100644
--- a/smartmontools/ChangeLog
+++ b/smartmontools/ChangeLog
@@ -1,5 +1,9 @@
 $Id$
 
+2018-06-21  Christian Franke  <franke@computer.org>
+
+	os_win32.cpp: Decode Windows 10 1803 build number.
+
 2018-04-19  Christian Franke  <franke@computer.org>
 
 	utility.cpp, utility.h: Use array reference for buffer parameter
diff --git a/smartmontools/os_win32.cpp b/smartmontools/os_win32.cpp
index 7be2e07aa..ff33e081e 100644
--- a/smartmontools/os_win32.cpp
+++ b/smartmontools/os_win32.cpp
@@ -3,7 +3,7 @@
  *
  * Home page of code is: http://www.smartmontools.org
  *
- * Copyright (C) 2004-17 Christian Franke
+ * Copyright (C) 2004-18 Christian Franke
  *
  * Original AACRaid code:
  *  Copyright (C) 2015    Nidhi Malhotra <nidhi.malhotra@pmcs.com>
@@ -4080,6 +4080,7 @@ std::string win_smart_interface::get_os_version_str()
           case 14393:   w = "w10-1607"; break;
           case 15063:   w = "w10-1703"; break;
           case 16299:   w = "w10-1709"; break;
+          case 17134:   w = "w10-1803"; break;
           default:      w = "w10";  build = vi.dwBuildNumber; break;
         } break;
       case 0xa0<<1 | 1:
-- 
GitLab