aboutsummaryrefslogtreecommitdiffstats
path: root/support/dfa.c
diff options
context:
space:
mode:
authorJohn Malmberg <wb8tyw@qsl.net>2016-12-22 23:58:43 -0600
committerJohn Malmberg <wb8tyw@qsl.net>2016-12-23 00:00:13 -0600
commit0098373ed5cb15f4dc2e3a59e0efb872827fe7f1 (patch)
tree29a43373b6d02928ba2638924bea9d02e94ebc7d /support/dfa.c
parent7d02088c7c8731ae5c5b2810d1c30d7f77b29687 (diff)
downloadegawk-0098373ed5cb15f4dc2e3a59e0efb872827fe7f1.tar.gz
egawk-0098373ed5cb15f4dc2e3a59e0efb872827fe7f1.tar.bz2
egawk-0098373ed5cb15f4dc2e3a59e0efb872827fe7f1.zip
Update OpenVMS for support directory
Diffstat (limited to 'support/dfa.c')
-rw-r--r--support/dfa.c7
1 files changed, 6 insertions, 1 deletions
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