From 227d828b67490bf87b6f992f6f2e6abe7a7306e8 Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Tue, 14 Oct 2014 21:37:19 +0000 Subject: [PATCH] Updates Windows version strings for 8.1 and 10 (technical preview) This was SVN commit r15869. --- source/lib/sysdep/os/win/wversion.cpp | 6 +++++- source/lib/sysdep/os/win/wversion.h | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/source/lib/sysdep/os/win/wversion.cpp b/source/lib/sysdep/os/win/wversion.cpp index 8ecc48601f..e18b82806d 100644 --- a/source/lib/sysdep/os/win/wversion.cpp +++ b/source/lib/sysdep/os/win/wversion.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010 Wildfire Games +/* Copyright (c) 2014 Wildfire Games * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -50,6 +50,10 @@ const wchar_t* wversion_Family() return L"Win7"; case WVERSION_8: return L"Win8"; + case WVERSION_8_1: + return L"Win8.1"; + case WVERSION_10: + return L"Win10"; default: return L"Windows"; } diff --git a/source/lib/sysdep/os/win/wversion.h b/source/lib/sysdep/os/win/wversion.h index d3a87f7edc..82077ff239 100644 --- a/source/lib/sysdep/os/win/wversion.h +++ b/source/lib/sysdep/os/win/wversion.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2010 Wildfire Games +/* Copyright (c) 2014 Wildfire Games * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -35,6 +35,8 @@ const size_t WVERSION_XP64 = 0x0502; const size_t WVERSION_VISTA = 0x0600; const size_t WVERSION_7 = 0x0601; const size_t WVERSION_8 = 0x0602; +const size_t WVERSION_8_1 = 0x0603; +const size_t WVERSION_10 = 0x0604; /** * @return one of the above WVERSION* values