bug 507506 - ntmisc.c _MD_WindowsGetSysInfo needs to handle Windows CE. Patch by Robert Strong <robert.bugzilla@gmail.com>, r=wtc
git-svn-id: svn://10.0.0.236/trunk@257893 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4622f0d0b0
commit
f6ac1818d3
@ -840,6 +840,13 @@ PRStatus _MD_WindowsGetSysInfo(PRSysInfo cmd, char *name, PRUint32 namelen)
|
||||
osvi.dwMinorVersion);
|
||||
}
|
||||
break;
|
||||
case VER_PLATFORM_WIN32_CE:
|
||||
if (PR_SI_SYSNAME == cmd)
|
||||
(void)PR_snprintf(name, namelen, "Windows_CE");
|
||||
else if (PR_SI_RELEASE == cmd)
|
||||
(void)PR_snprintf(name, namelen, "%d.%d",osvi.dwMajorVersion,
|
||||
osvi.dwMinorVersion);
|
||||
break;
|
||||
default:
|
||||
if (PR_SI_SYSNAME == cmd)
|
||||
(void)PR_snprintf(name, namelen, "Windows_Unknown");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user