From 3fa7dda9e79841e17b4dbdd09142125a3cc7ee13 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Fri, 4 Sep 2009 09:08:44 +0200 Subject: [PATCH] Detect Windows server 2008 and Windows server 2008 R2 - compilation fix --- src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.c b/src/misc.c index cea9e5c2..12c4c931 100644 --- a/src/misc.c +++ b/src/misc.c @@ -141,7 +141,7 @@ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/ge else { 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); }