aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygheap.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-02 17:12:37 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-02 17:12:37 +0000
commit414808f9e01ce103d2bc67d4ddaa802125ce5512 (patch)
tree2fc20623e4d929db4b68506c21a5a74edfb41276 /winsup/cygwin/cygheap.cc
parent8f36ef2f33ab096ea580dc4fdbaf6565b561e65f (diff)
downloadnewlib-414808f9e01ce103d2bc67d4ddaa802125ce5512.zip
newlib-414808f9e01ce103d2bc67d4ddaa802125ce5512.tar.gz
newlib-414808f9e01ce103d2bc67d4ddaa802125ce5512.tar.bz2
* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate
dependencies when invoked from top-level make.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r--winsup/cygwin/cygheap.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 7db84cc..6cbdf6e 100644
--- a/winsup/cygwin/cygheap.cc
+++ b/winsup/cygwin/cygheap.cc
@@ -158,12 +158,7 @@ cygheap_init ()
cygheap_protect.init ("cygheap_protect");
if (!cygheap)
{
-#if 1
cygheap = (init_cygheap *) memset (_cygheap_start, 0, _cygheap_mid - _cygheap_start);
-#else
- cygheap = (init_cygheap *) _cygheap_start;
-#endif
-
cygheap_max = cygheap;
_csbrk (sizeof (*cygheap));
}