From 0098373ed5cb15f4dc2e3a59e0efb872827fe7f1 Mon Sep 17 00:00:00 2001 From: John Malmberg Date: Thu, 22 Dec 2016 23:58:43 -0600 Subject: Update OpenVMS for support directory --- support/ChangeLog | 4 ++++ support/dfa.c | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'support') diff --git a/support/ChangeLog b/support/ChangeLog index be46a1c0..80164c39 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,7 @@ +2016-12-22 John E. Malmberg + + * dfa.c fixes for OpenVMS + 2016-12-22 Arnold D. Robbins * ChangeLog: Created. diff --git a/support/dfa.c b/support/dfa.c index 8f34c4c1..d4ecbe9d 100644 --- a/support/dfa.c +++ b/support/dfa.c @@ -24,7 +24,12 @@ #include #include +#ifndef VMS #include +#else +#define SIZE_MAX __INT32_MAX +#define PTRDIFF_MAX __INT32_MAX +#endif #include #ifndef VMS @@ -2138,7 +2143,7 @@ merge_constrained (position_set const *s1, position_set const *s2, static void merge (position_set const *s1, position_set const *s2, position_set *m) { - return merge_constrained (s1, s2, -1, m); + merge_constrained (s1, s2, -1, m); } /* Delete a position from a set. Return the nonzero constraint of the -- cgit v1.2.3