diff options
author | Egor Duda <deo@logos-m.ru> | 2001-04-24 15:25:31 +0000 |
---|---|---|
committer | Egor Duda <deo@logos-m.ru> | 2001-04-24 15:25:31 +0000 |
commit | 8db71e01698f00c71eed124b1609f019776900a1 (patch) | |
tree | 3614b12bd953007317cacf6e89eecccc24497c4a /winsup/cygwin/debug.h | |
parent | 19a90cfeaf3f3ed0de79f061a76cd5cabfd0f021 (diff) | |
download | cygnal-8db71e01698f00c71eed124b1609f019776900a1.tar.gz cygnal-8db71e01698f00c71eed124b1609f019776900a1.tar.bz2 cygnal-8db71e01698f00c71eed124b1609f019776900a1.zip |
* 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/debug.h')
-rw-r--r-- | winsup/cygwin/debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h index 02289eeb5..9491b60be 100644 --- a/winsup/cygwin/debug.h +++ b/winsup/cygwin/debug.h @@ -9,6 +9,8 @@ details. */ #ifndef MALLOC_DEBUG #define MALLOC_CHECK do {} while (0) #else +#include <stdlib.h> +#include "dlmalloc.h" #define MALLOC_CHECK ({\ debug_printf ("checking malloc pool");\ (void)mallinfo ();\ |