Use IsWindows10OrGreater since target SDK is now Windows 10 and remove the year from Windows Server since the different versions can only be distinguished by the build numbers
parent
262258efd5
commit
bf822b85de
|
|
@ -150,13 +150,13 @@ LLOSInfo::LLOSInfo() :
|
|||
|
||||
#if LL_WINDOWS
|
||||
|
||||
if (IsWindowsVersionOrGreater(10, 0, 0))
|
||||
if (IsWindows10OrGreater())
|
||||
{
|
||||
mMajorVer = 10;
|
||||
mMinorVer = 0;
|
||||
if (IsWindowsServer())
|
||||
{
|
||||
mOSStringSimple = "Windows Server 2016 ";
|
||||
mOSStringSimple = "Windows Server ";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue