diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:26 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:26 -0800 |
commit | deda2c0fd8689349fea2a900199a76ff7ecb319e (patch) | |
tree | c9726d54a0806a9b0c75e6c82db8692aea0053cf /gmalloc.c | |
parent | 3278b75942bdbe706f7a0fba87729bb1e935b68b (diff) | |
download | scm-deda2c0fd8689349fea2a900199a76ff7ecb319e.tar.gz scm-deda2c0fd8689349fea2a900199a76ff7ecb319e.zip |
Import Upstream version 5d6upstream/5d6
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 |