aboutsummaryrefslogtreecommitdiffstats
path: root/custom.h
diff options
context:
space:
mode:
authorJohn Malmberg <wb8tyw@qsl.net>2020-02-13 18:32:23 -0600
committerJohn Malmberg <wb8tyw@qsl.net>2020-02-13 18:32:23 -0600
commit49a3b8595db2c6d265f3e6635e4deb7accff8ced (patch)
tree9f9e28412207c3e8a651a2d007ba16e84e26a814 /custom.h
parent9ce4f70b852959e8a6c244f5cff96d7f50b5594f (diff)
downloadegawk-49a3b8595db2c6d265f3e6635e4deb7accff8ced.tar.gz
egawk-49a3b8595db2c6d265f3e6635e4deb7accff8ced.tar.bz2
egawk-49a3b8595db2c6d265f3e6635e4deb7accff8ced.zip
custom.h fix for OpenVMS regex handling.
Diffstat (limited to 'custom.h')
-rw-r--r--custom.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/custom.h b/custom.h
index 66e755de..b21cf384 100644
--- a/custom.h
+++ b/custom.h
@@ -44,6 +44,10 @@
#include <fp.h>
/* isnan () macro is broken */
#undef isnan
+/* VMS has POSIX confirming limits.h */
+#ifndef _REGEX_INCLUDE_LIMITS_H
+#define _REGEX_INCLUDE_LIMITS_H 1
+#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif /* _GNU_SOURCE */