Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Duda <deo@logos-m.ru>2001-04-24 19:25:31 +0400
committerEgor Duda <deo@logos-m.ru>2001-04-24 19:25:31 +0400
commit8db71e01698f00c71eed124b1609f019776900a1 (patch)
tree3614b12bd953007317cacf6e89eecccc24497c4a /winsup/cygwin/winsup.h
parent19a90cfeaf3f3ed0de79f061a76cd5cabfd0f021 (diff)
* dlmalloc.c: New file. Port of Doug Lea's malloc
* dlmalloc.h: Ditto. * Makefile.in: Add support for MALLOC_DEBUG * config.h.in: Ditto. * winsup.h: Ditto. * configure.in: Add --enable-malloc-debugging option. * configure: Regenerate. * debug.h: Include declarations for debugging malloc. * tty.cc (grantpt): Fix definition. (unlockpt): Ditto.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index c49010740..51c340d98 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -58,7 +58,9 @@ extern char case_folded_lower[];
extern char case_folded_upper[];
#define cyg_toupper(c) (case_folded_upper[(unsigned char)(c)])
+#ifndef MALLOC_DEBUG
#define cfree newlib_cfree_dont_use
+#endif
#define WIN32_LEAN_AND_MEAN 1
#define _WINGDI_H