diff options
Diffstat (limited to 'gmalloc.c')
-rw-r--r-- | gmalloc.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1622,11 +1622,13 @@ write to the Free Software Foundation, Inc., 59 Temple Place, Suite extern size_t __getpagesize PP ((void)); #endif #else +#ifndef __osf__ /* declared in <unistd.h> */ #ifndef hpux /* declared in <unistd.h> */ #ifndef __svr4__ /* declared in <unistd.h> */ #include "getpagesize.h" #endif #endif +#endif #define __getpagesize() getpagesize() #endif @@ -1649,6 +1651,7 @@ valloc (size) #endif /* Not ELIDE_VALLOC. */ +#ifdef DEBUG_GMALLOC /* Debugging functions added by Radey Shouman */ struct list *check_block_prev; int check_block(block, cont) @@ -1697,4 +1700,4 @@ int check_frag_blocks() } return 0; } - +#endif |