From: Jim Meyering Date: Tue, 6 Apr 1993 02:45:12 +0000 (+0000) Subject: undef isascii before redefining X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59d27eeb9e62ebaebdd0fc66b1e0e38bd96790f7;p=pspp undef isascii before redefining --- diff --git a/lib/regex.c b/lib/regex.c index eda11b5350..247f5f1d75 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -127,7 +127,8 @@ init_syntax_once () /* isalpha etc. are used for the character classes. */ #include -#ifndef isascii +#if !defined (isascii) || defined (STDC_HEADERS) +#undef isascii #define isascii(c) 1 #endif