From 9fc5a7b2a828c2702e36511caf26574855dd23b0 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 15 Nov 1992 10:30:58 +0000 Subject: [PATCH] *** empty log message *** --- regex.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.30.2