mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 00:23:10 +00:00
doing some maintenance on the posix build system, getting in sync with reactos base.
svn path=/trunk/; revision=3940
This commit is contained in:
parent
0ab5c4ecee
commit
3028effd84
8 changed files with 282 additions and 99 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: stdlib.h,v 1.4 2002/10/29 04:45:15 rex Exp $
|
||||
/* $Id: stdlib.h,v 1.5 2003/01/05 18:27:20 robd Exp $
|
||||
*/
|
||||
/*
|
||||
* psx/stdlib.h
|
||||
|
@ -39,7 +39,11 @@
|
|||
|
||||
/* MACROS */
|
||||
/* FIXME? Windows NT's ntdll doesn't export RtlGetProcessHeap() */
|
||||
#define RtlGetProcessHeap() ((HANDLE)NtCurrentPeb()->ProcessHeap)
|
||||
//#define RtlGetProcessHeap() ((HANDLE)NtCurrentPeb()->ProcessHeap)
|
||||
#ifndef _RTLGETPROCESSHEAP_DEFINED_
|
||||
#define _RTLGETPROCESSHEAP_DEFINED_
|
||||
#define RtlGetProcessHeap() (NtCurrentPeb()->ProcessHeap)
|
||||
#endif
|
||||
|
||||
#define __malloc(SIZE) (RtlAllocateHeap(RtlGetProcessHeap(), 0, (SIZE)))
|
||||
#define __realloc(PTR,SIZE) (RtlReAllocateHeap(RtlGetProcessHeap(), 0, (PTR), (SIZE)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue