/****************************************************************************
* Author: Thomas E. Dickey 1996-on *
****************************************************************************/
-/* $Id: test.priv.h,v 1.210 2023/02/25 21:26:04 tom Exp $ */
+/* $Id: test.priv.h,v 1.213 2023/04/15 21:44:58 tom Exp $ */
#ifndef __TEST_PRIV_H
#define __TEST_PRIV_H 1
#define NO_LEAKS 0
#endif
+#ifndef HAVE__NC_TPARM_ANALYZE
+#define HAVE__NC_TPARM_ANALYZE 0
+#endif
+
/*
* Workaround for HPUX
*/
char *base = argv[0]; \
char *leaf = strrchr(base, '/'); \
char *result = malloc(strlen(base) + 80); \
- if (result == NULL) { \
- static char unknown[] = "?"; \
- result = unknown; \
- } else { \
+ if (result != NULL) { \
if (leaf++ == NULL) leaf = base; \
sprintf(result, "%.20s: ", leaf); \
format_version(result + strlen(result)); \
#define UChar(c) ((unsigned char)(c))
+#ifndef SIZEOF
#define SIZEOF(table) (sizeof(table)/sizeof(table[0]))
+#endif
#if defined(NCURSES_VERSION) && HAVE_NC_ALLOC_H
#include <nc_alloc.h>