diff options
Diffstat (limited to 'hw/xwin/winprocarg.c')
-rw-r--r-- | hw/xwin/winprocarg.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/xwin/winprocarg.c b/hw/xwin/winprocarg.c index efad7e5cb..d11ee6c1f 100644 --- a/hw/xwin/winprocarg.c +++ b/hw/xwin/winprocarg.c @@ -1206,6 +1206,14 @@ winOS(void) if (osvi.dwMajorVersion <= 4) prodName = "Windows NT"; + else if (osvi.dwMajorVersion == 10) { + if (osvi.dwMinorVersion == 0) { + if (osvi.wProductType == VER_NT_WORKSTATION) + prodName = "Windows 10"; + else + prodName = "Windows Server 10"; // or 2016??? + } + } else if (osvi.dwMajorVersion == 6) { if (osvi.dwMinorVersion == 4) { if (osvi.wProductType == VER_NT_WORKSTATION) |