diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-07-03 09:24:12 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-07-03 09:24:12 +0000 |
commit | 15589c42fa2774d2f8ee650f4f31eb8d3a861316 (patch) | |
tree | 27e79485df3c9195e6fe58960df47f675f41f1e9 /contrib/ncurses/test/test.priv.h | |
parent | 6b9085fd58b7602b14be0cd2059285baa764a7ee (diff) | |
download | src-test2-15589c42fa2774d2f8ee650f4f31eb8d3a861316.tar.gz src-test2-15589c42fa2774d2f8ee650f4f31eb8d3a861316.zip |
Notes
Diffstat (limited to 'contrib/ncurses/test/test.priv.h')
-rw-r--r-- | contrib/ncurses/test/test.priv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/ncurses/test/test.priv.h b/contrib/ncurses/test/test.priv.h index 0ae433195e42..affed8d7e76a 100644 --- a/contrib/ncurses/test/test.priv.h +++ b/contrib/ncurses/test/test.priv.h @@ -29,7 +29,7 @@ /**************************************************************************** * Author: Thomas E. Dickey <dickey@clark.net> 1996 * ****************************************************************************/ -/* $Id: test.priv.h,v 1.15 1998/02/11 12:14:04 tom Exp $ */ +/* $Id: test.priv.h,v 1.16 2000/04/15 17:52:08 tom Exp $ */ #if HAVE_CONFIG_H #include <ncurses_cfg.h> #endif @@ -68,6 +68,9 @@ extern int optind; #if defined(NCURSES_VERSION) && HAVE_NC_ALLOC_H #include <nc_alloc.h> +#else +#define typeMalloc(type,n) (type *) malloc(n * sizeof(type)) +#define typeRealloc(type,n,p) (type *) realloc(p, n * sizeof(type)) #endif #ifndef ExitProgram |