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:
hendricks266 2012-09-13 07:07:54 +00:00
parent 9f0824e79f
commit 8990017700

View file

@ -624,6 +624,9 @@ static void win_printversion(void)
case 1:
ver = osv.wProductType == VER_NT_WORKSTATION ? "7" : "Server 2008 R2";
break;
case 2:
ver = osv.wProductType == VER_NT_WORKSTATION ? "8" : "Server 2012";
break;
}
break;
}