X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest.priv.h;h=58bbd162386fe875a9ed00d45635d7c30d9957e1;hp=0ae433195e4260895c686c09bdcd5ef353234f10;hb=c633e5103a29a38532cf1925257b91cea33fd090;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/test/test.priv.h b/test/test.priv.h index 0ae43319..58bbd162 100644 --- a/test/test.priv.h +++ b/test/test.priv.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998 Free Software Foundation, Inc. * + * Copyright (c) 1998,2000 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -29,12 +29,35 @@ /**************************************************************************** * Author: Thomas E. Dickey 1996 * ****************************************************************************/ -/* $Id: test.priv.h,v 1.15 1998/02/11 12:14:04 tom Exp $ */ +/* $Id: test.priv.h,v 1.19 2000/09/02 19:31:58 tom Exp $ */ + #if HAVE_CONFIG_H #include +#else +#define HAVE_CURSES_VERSION 0 +#define HAVE_RESIZETERM 0 +#define HAVE_USE_DEFAULT_COLORS 0 +#define HAVE_WRESIZE 0 +#endif + +#ifndef HAVE_NC_ALLOC_H +#define HAVE_NC_ALLOC_H 0 +#endif + +#ifndef HAVE_LOCALE_H +#define HAVE_LOCALE_H 0 +#endif + +#ifndef NCURSES_NOMACROS +#define NCURSES_NOMACROS 0 +#endif + +#ifndef NEED_PTEM_H +#define NEED_PTEM_H 0 #endif #include +#include #include #if HAVE_UNISTD_H @@ -43,7 +66,7 @@ #include -#ifdef NCURSES_NOMACROS +#if NCURSES_NOMACROS #include #endif @@ -68,6 +91,9 @@ extern int optind; #if defined(NCURSES_VERSION) && HAVE_NC_ALLOC_H #include +#else +#define typeMalloc(type,n) (type *) malloc(n * sizeof(type)) +#define typeRealloc(type,n,p) (type *) realloc(p, n * sizeof(type)) #endif #ifndef ExitProgram