summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-11-15 10:30:58 +0000
committerJim Blandy <jimb@redhat.com>1992-11-15 10:30:58 +0000
commitd074788d47b9abb09a91258b21eac688ca59a878 (patch)
tree4a3979334beafd7cbf0d12f3965ebbe95b57eb20 /src/regex.c
parentc9874e0423720c6f05e3d8f4c6c99d3519b4d414 (diff)
downloademacs-d074788d47b9abb09a91258b21eac688ca59a878.tar.gz
*** empty log message ***
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c
index 3129ed499fd..71aa4cc87e1 100644
--- a/src/regex.c
+++ b/src/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)