mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Modify RtlGetNtVersionNumbers to allow loading of WinXP SP2 MSVCRT.DLL.
svn path=/trunk/; revision=12101
This commit is contained in:
parent
f49768c160
commit
d7b522cba2
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: misc.c,v 1.10 2004/08/05 18:17:36 ion Exp $
|
||||
/* $Id: misc.c,v 1.11 2004/12/13 23:11:13 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -84,7 +84,10 @@ RtlGetNtVersionNumbers(LPDWORD major, LPDWORD minor, LPDWORD build)
|
|||
|
||||
if (minor)
|
||||
{
|
||||
*minor = pPeb->OSMinorVersion;
|
||||
if (pPeb->OSMinorVersion <= 5)
|
||||
*minor = pPeb->OSMinorVersion < 1 ? 1 : pPeb->OSMinorVersion;
|
||||
else
|
||||
*minor = pPeb->OSMinorVersion;
|
||||
}
|
||||
|
||||
if (build)
|
||||
|
|
Loading…
Reference in a new issue