aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygheap.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-03-21 21:51:26 +0000
committerChristopher Faylor <me@cgf.cx>2004-03-21 21:51:26 +0000
commite362f67fefb12b772ebaccb8a65f2002d467faf5 (patch)
treeeb3ae0c6f331eba66669dbed43d27f5231875333 /winsup/cygwin/cygheap.cc
parent0cf94b8c624b506c63d2c917aa7f65042b0eb0c1 (diff)
downloadnewlib-e362f67fefb12b772ebaccb8a65f2002d467faf5.zip
newlib-e362f67fefb12b772ebaccb8a65f2002d467faf5.tar.gz
newlib-e362f67fefb12b772ebaccb8a65f2002d467faf5.tar.bz2
* cygheap.cc (init_cheap): Conditionalize debugging code.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r--winsup/cygwin/cygheap.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 7e9b144..68b5346 100644
--- a/winsup/cygwin/cygheap.cc
+++ b/winsup/cygwin/cygheap.cc
@@ -70,8 +70,10 @@ init_cheap ()
PAGE_NOACCESS)))
break;
while ((alloc_sz -= 2 * (1024 * 1024)) >= CYGHEAPSIZE_MIN);
+#ifdef DEBUGGING
if (alloc_sz != initial_sz)
small_printf ("reset initial cygheap size to %u\n", alloc_sz);
+#endif
if (!cygheap)
{
MEMORY_BASIC_INFORMATION m;