Build NTDLL with NDK

svn path=/trunk/; revision=16110
This commit is contained in:
Alex Ionescu 2005-06-19 20:28:20 +00:00
parent d3d66f5e68
commit 3b65c45a7c
2 changed files with 3 additions and 4 deletions

View file

@ -10,9 +10,8 @@
/* SDK/DDK/NDK Headers. */ /* SDK/DDK/NDK Headers. */
#include <windows.h> #include <windows.h>
#include <ddk/ntddk.h> /* FIXME: NDK */ #define NTOS_MODE_USER
#include <ddk/ntifs.h> /* FIXME: NDK */ #include <ndk/ntndk.h>
#include <ntos/ldrtypes.h> /* FIXME: NDK */
/* NTDLL Public Headers. FIXME: Combine/clean these after NDK */ /* NTDLL Public Headers. FIXME: Combine/clean these after NDK */
#include <ntdll/csr.h> #include <ntdll/csr.h>

View file

@ -279,7 +279,7 @@ __true_LdrInitializeThunk (ULONG Unknown1,
ZwTerminateProcess(NtCurrentProcess(), Status); ZwTerminateProcess(NtCurrentProcess(), Status);
} }
Peb->NumberOfProcessors = SystemInformation.NumberProcessors; Peb->NumberOfProcessors = SystemInformation.NumberOfProcessors;
/* Initialize Critical Section Data */ /* Initialize Critical Section Data */
RtlpInitDeferedCriticalSection(); RtlpInitDeferedCriticalSection();