mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-23 07:30:40 +00:00
Add detection of Windows 8 and Server 2012 to win_printversion().
git-svn-id: https://svn.eduke32.com/eduke32@3018 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9f0824e79f
commit
8990017700
1 changed files with 3 additions and 0 deletions
|
@ -624,6 +624,9 @@ static void win_printversion(void)
|
||||||
case 1:
|
case 1:
|
||||||
ver = osv.wProductType == VER_NT_WORKSTATION ? "7" : "Server 2008 R2";
|
ver = osv.wProductType == VER_NT_WORKSTATION ? "7" : "Server 2008 R2";
|
||||||
break;
|
break;
|
||||||
|
case 2:
|
||||||
|
ver = osv.wProductType == VER_NT_WORKSTATION ? "8" : "Server 2012";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue