mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Windows: Re-add pre-XP version strings.
git-svn-id: https://svn.eduke32.com/eduke32@5638 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
92d223aa36
commit
85d1fa60c8
1 changed files with 11 additions and 1 deletions
|
@ -61,12 +61,22 @@ static void win_printversion(void)
|
|||
|
||||
switch (osv.dwPlatformId)
|
||||
{
|
||||
case VER_PLATFORM_WIN32_WINDOWS:
|
||||
if (osv.dwMinorVersion < 10)
|
||||
ver = "95";
|
||||
else if (osv.dwMinorVersion < 90)
|
||||
ver = "98";
|
||||
else
|
||||
ver = "ME";
|
||||
break;
|
||||
|
||||
case VER_PLATFORM_WIN32_NT:
|
||||
switch (osv.dwMajorVersion)
|
||||
{
|
||||
case 5:
|
||||
switch (osv.dwMinorVersion)
|
||||
{
|
||||
case 0: ver = "2000"; break;
|
||||
case 1: ver = "XP"; break;
|
||||
case 2: ver = osv.wProductType == VER_NT_WORKSTATION ? "XP x64" : "Server 2003"; break;
|
||||
}
|
||||
|
@ -85,7 +95,7 @@ static void win_printversion(void)
|
|||
case 10:
|
||||
switch (osv.dwMinorVersion)
|
||||
{
|
||||
case 0: ver = osv.wProductType == VER_NT_WORKSTATION ? "10" : "Server 10"; break;
|
||||
case 0: ver = osv.wProductType == VER_NT_WORKSTATION ? "10" : "Server 2016"; break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue