mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-24 09:48:46 +00:00
Changed: #866 VER_SUITE_STORAGE_SERVER and VER_SUITE_COMPUTE_SERVER not defined
This commit is contained in:
parent
0939306ec7
commit
a1057ccaba
1 changed files with 12 additions and 4 deletions
|
@ -477,8 +477,10 @@ string CSystemInfo::getOS()
|
|||
{
|
||||
if( GetSystemMetrics(89 /* SM_SERVERR2 */) )
|
||||
OSString += " Windows Server 2003 R2";
|
||||
#ifdef VER_SUITE_STORAGE_SERVER
|
||||
else if ( osvi.wSuiteMask == VER_SUITE_STORAGE_SERVER )
|
||||
OSString += " Windows Storage Server 2003";
|
||||
#endif
|
||||
#ifdef VER_SUITE_WH_SERVER
|
||||
else if ( osvi.wSuiteMask == VER_SUITE_WH_SERVER )
|
||||
OSString += " Windows Home Server";
|
||||
|
@ -512,14 +514,20 @@ string CSystemInfo::getOS()
|
|||
|
||||
else
|
||||
{
|
||||
if ( osvi.wSuiteMask & VER_SUITE_COMPUTE_SERVER )
|
||||
OSString += " Compute Cluster Edition";
|
||||
if( osvi.wSuiteMask & VER_SUITE_ENTERPRISE )
|
||||
OSString += " Enterprise Edition";
|
||||
#ifdef VER_SUITE_DATACENTER
|
||||
else if( osvi.wSuiteMask & VER_SUITE_DATACENTER )
|
||||
OSString += " Datacenter Edition";
|
||||
else if( osvi.wSuiteMask & VER_SUITE_ENTERPRISE )
|
||||
OSString += " Enterprise Edition";
|
||||
#endif
|
||||
#ifdef VER_SUITE_BLADE
|
||||
else if ( osvi.wSuiteMask & VER_SUITE_BLADE )
|
||||
OSString += " Web Edition";
|
||||
#endif
|
||||
#ifdef VER_SUITE_COMPUTE_SERVER
|
||||
else if ( osvi.wSuiteMask & VER_SUITE_COMPUTE_SERVER )
|
||||
OSString += " Compute Cluster Edition";
|
||||
#endif
|
||||
else
|
||||
OSString += " Standard Edition";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue