aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/ChangeLog4
-rw-r--r--support/dfa.c7
2 files changed, 10 insertions, 1 deletions
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 <wb8tyw@qsl.net>
+
+ * dfa.c fixes for OpenVMS
+
2016-12-22 Arnold D. Robbins <arnold@skeeve.com>
* 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 <assert.h>
#include <ctype.h>
+#ifndef VMS
#include <stdint.h>
+#else
+#define SIZE_MAX __INT32_MAX
+#define PTRDIFF_MAX __INT32_MAX
+#endif
#include <stdio.h>
#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