mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Don't use ntdll headers in crt, use ndk
svn path=/trunk/; revision=16178
This commit is contained in:
parent
de322e6992
commit
0669fda144
1 changed files with 2 additions and 14 deletions
|
@ -34,10 +34,6 @@
|
|||
#include "msvcrt.h"
|
||||
*/
|
||||
|
||||
//#include <ntdll/ntdll.h>
|
||||
#include <ntdll/rtl.h>
|
||||
//#include <ddk/ntddk.h>
|
||||
//#include <ntos/heap.h>
|
||||
#include <stdarg.h>
|
||||
#include <wchar.h>
|
||||
#include <stdio.h>
|
||||
|
@ -45,20 +41,12 @@
|
|||
#include <ctype.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
//#include <ntos/heap.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
|
||||
/*
|
||||
This is so ugly. I tried including anything/everything, but no matter
|
||||
what i did i got complaints about RtlGetProcessHeap etc. being undefined.
|
||||
-Gunnar (i hate headers)
|
||||
*/
|
||||
#define RtlFreeHeap HeapFree
|
||||
#define RtlAllocateHeap HeapAlloc
|
||||
#define RtlGetProcessHeap GetProcessHeap
|
||||
//#include "wine/debug.h"
|
||||
|
||||
#define WARN DPRINT1
|
||||
|
|
Loading…
Reference in a new issue