Commit d074788d authored by Jim Blandy's avatar Jim Blandy

*** empty log message ***

parent c9874e04
......@@ -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)
......
......@@ -20,6 +20,11 @@
#ifndef __REGEXP_LIBRARY_H__
#define __REGEXP_LIBRARY_H__
#ifdef VMS
/* POSIX says that size_t should be in stddef.h. */
#include <stddef.h>
#endif
/* POSIX says that <sys/types.h> must be included before <regex.h>. */
/* The following bits are used to determine the regexp syntax we
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment