- Modify RtlGetNtVersionNumbers to allow loading of WinXP SP2 MSVCRT.DLL.

svn path=/trunk/; revision=12101
This commit is contained in:
Filip Navara 2004-12-13 23:11:13 +00:00
parent f49768c160
commit d7b522cba2

View file

@ -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)