Mercurial > gnulib
diff lib/regex.c @ 17:bfdc4be2e482
GNU text utilities
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 19 Nov 1992 20:51:13 +0000 |
parents | 4b22f864dc31 |
children | ae9487125494 |
line wrap: on
line diff
--- a/lib/regex.c Sun Nov 08 02:55:50 1992 +0000 +++ b/lib/regex.c Thu Nov 19 20:51:13 1992 +0000 @@ -135,7 +135,11 @@ (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)