mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 16:26:12 +08:00
* heap.h (inheap): Rewrite macro to accomodate removal of brk macros below.
This commit is contained in:
parent
de05a524ca
commit
3800a9e7d7
@ -1,3 +1,8 @@
|
|||||||
|
Sun Sep 9 15:59:53 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* heap.h (inheap): Rewrite macro to accomodate removal of brk macros
|
||||||
|
below.
|
||||||
|
|
||||||
Sun Sep 9 15:02:44 2001 Christopher Faylor <cgf@cygnus.com>
|
Sun Sep 9 15:02:44 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap
|
* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap
|
||||||
|
@ -14,4 +14,6 @@ details. */
|
|||||||
void heap_init ();
|
void heap_init ();
|
||||||
void malloc_init ();
|
void malloc_init ();
|
||||||
|
|
||||||
#define inheap(s) (brk && ((char *) (s) >= (char *) brkbase) && ((char *) (s) <= (char *) brktop))
|
#define inheap(s) \
|
||||||
|
(cygheap->heapptr && ((char *) (s) >= (char *) cygheap->heapbase) \
|
||||||
|
&& ((char *) (s) <= (char *) cygheap->heaptop))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user