From 22ba8f3323f35f3b8239554ae52684dd15179d29 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 20 Nov 1993 17:00:37 +0000 Subject: merge with 1.9.1a --- src/expr.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/expr.c') diff --git a/src/expr.c b/src/expr.c index 26c4ffa0d..e5549140f 100644 --- a/src/expr.c +++ b/src/expr.c @@ -48,12 +48,13 @@ #include "version.h" #include "long-options.h" -#if !defined (isascii) || defined (STDC_HEADERS) -#undef isascii -#define isascii(c) 1 +#if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII)) +#define ISASCII(c) 1 +#else +#define ISASCII(c) isascii(c) #endif -#define ISDIGIT(c) (isascii (c) && isdigit (c)) +#define ISDIGIT(c) (ISASCII (c) && isdigit (c)) #define NEW(type) ((type *) xmalloc (sizeof (type))) #define OLD(x) free ((char *) x) -- cgit v1.2.3-54-g00ecf