1
0
forked from 0ad/0ad

Updates Windows version strings for 8.1 and 10 (technical preview)

This was SVN commit r15869.
This commit is contained in:
historic_bruno 2014-10-14 21:37:19 +00:00
parent 78896154fe
commit 227d828b67
2 changed files with 8 additions and 2 deletions

View File

@ -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";
}

View File

@ -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