summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/util.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 5677e82a..b9bf3b35 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -726,6 +726,16 @@ get_cpu_str (void)
 						strcpy (winver, "Server 2008 R2");
 					}
 					break;
+				case 2:
+					if (osvi.wProductType == VER_NT_WORKSTATION)
+					{
+						strcpy (winver, "8");
+					}
+					else
+					{
+						strcpy (winver, "8 Server");
+					}
+					break;
 			}
 			break;
 	}