X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Fprogs.priv.h;h=d704c0989b33ebae90e6ab14211ceae4447d14f6;hp=2d22c9ad1a8af375c26e3770e4be30688c633df8;hb=c633e5103a29a38532cf1925257b91cea33fd090;hpb=b1f61d9f3aa244512045a6b02e759825d7049d34 diff --git a/progs/progs.priv.h b/progs/progs.priv.h index 2d22c9ad..d704c098 100644 --- a/progs/progs.priv.h +++ b/progs/progs.priv.h @@ -30,7 +30,7 @@ * Author: Thomas E. Dickey 1997,1998 * ****************************************************************************/ /* - * $Id: progs.priv.h,v 1.22 2000/04/08 23:47:39 tom Exp $ + * $Id: progs.priv.h,v 1.24 2000/10/01 01:33:34 tom Exp $ * * progs.priv.h * @@ -39,7 +39,7 @@ #include -#ifdef USE_RCS_IDS +#if USE_RCS_IDS #define MODULE_ID(id) static const char Ident[] = id; #else #define MODULE_ID(id) /*nothing*/ @@ -162,7 +162,7 @@ extern int optind; /* We use isascii only to guard against use of 7-bit ctype tables in the * isprint test in infocmp. */ -#ifndef HAVE_ISASCII +#if !HAVE_ISASCII # undef isascii # if ('z'-'a' == 25) && ('z' < 127) && ('Z'-'A' == 25) && ('Z' < 127) && ('9' < 127) # define isascii(c) (((c) & 0xff) <= 127) @@ -170,3 +170,5 @@ extern int optind; # define isascii(c) 1 /* not really ascii anyway */ # endif #endif + +#define SIZEOF(v) (sizeof(v)/sizeof(v[0]))