1
0
forked from 0ad/0ad

Add detection of Win8 in wversion, to help stats collection

This was SVN commit r13100.
This commit is contained in:
Ykkrosh 2013-01-21 20:32:07 +00:00
parent a9294b0491
commit c037e3f78e
2 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,8 @@ const wchar_t* wversion_Family()
return L"Vista";
case WVERSION_7:
return L"Win7";
case WVERSION_8:
return L"Win8";
default:
return L"Windows";
}

View File

@ -34,6 +34,7 @@ const size_t WVERSION_XP = 0x0501;
const size_t WVERSION_XP64 = 0x0502;
const size_t WVERSION_VISTA = 0x0600;
const size_t WVERSION_7 = 0x0601;
const size_t WVERSION_8 = 0x0602;
/**
* @return one of the above WVERSION* values