Detect Windows server 2008 and Windows server 2008 R2 - compilation fix
This commit is contained in:
parent
733a732f03
commit
3fa7dda9e7
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/ge
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
snprintf(buffer, sizeof(buffer) - 1, "Windows %s %i.%i.%i",
|
snprintf(buffer, sizeof(buffer) - 1, "Windows %s %i.%i.%i",
|
||||||
(Ver.wProductType == VER_NT_WORKSTATION ? "WorkStation" : Server),
|
(Ver.wProductType == VER_NT_WORKSTATION ? "WorkStation" : "Server"),
|
||||||
(int)Ver.dwMajorVersion, (int)Ver.dwMinorVersion, (int)Ver.dwBuildNumber);
|
(int)Ver.dwMajorVersion, (int)Ver.dwMinorVersion, (int)Ver.dwBuildNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue