From: Jim Blandy Date: Sun, 15 Nov 1992 10:30:58 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fc5a7b2a828c2702e36511caf26574855dd23b0;p=pspp *** empty log message *** --- diff --git a/regex.c b/regex.c index 3129ed499f..71aa4cc87e 100644 --- a/regex.c +++ b/regex.c @@ -135,7 +135,11 @@ init_syntax_once () (Per Bothner suggested the basic approach.) */ #undef SIGN_EXTEND_CHAR #if __STDC__ +#ifndef VMS #define SIGN_EXTEND_CHAR(c) ((signed char) (c)) +#else /* On VMS, VAXC doesn't recognize `signed' before `char' */ +#define SIGN_EXTEND_CHAR(c) ((char) (c)) +#endif /* VMS */ #else /* As in Harbison and Steele. */ #define SIGN_EXTEND_CHAR(c) ((((unsigned char) (c)) ^ 128) - 128)