aboutsummaryrefslogtreecommitdiffstats
path: root/custom.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-05-13 14:20:56 +0300
committerArnold D. Robbins <arnold@skeeve.com>2021-05-13 14:20:56 +0300
commitf0ac4fd694f79c45a67c40543622bcf458b88dae (patch)
treeb570e260d06b9af7f8e8a9f4c57d6b2a16d8e71d /custom.h
parent50f97722d80c7cfee247a3ebb0f8cfbed943033b (diff)
downloadegawk-f0ac4fd694f79c45a67c40543622bcf458b88dae.tar.gz
egawk-f0ac4fd694f79c45a67c40543622bcf458b88dae.tar.bz2
egawk-f0ac4fd694f79c45a67c40543622bcf458b88dae.zip
Fixes for z/OS.
Diffstat (limited to 'custom.h')
-rw-r--r--custom.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/custom.h b/custom.h
index aa0d7d61..43fb11e6 100644
--- a/custom.h
+++ b/custom.h
@@ -92,6 +92,12 @@ typedef unsigned long long uint_fast64_t;
#define _XOPEN_SOURCE_EXTENDED 1
#endif
+#ifdef __MVS__
+#ifndef _REGEX_INCLUDE_LIMITS_H
+#define _REGEX_INCLUDE_LIMITS_H 1
+#endif
+#endif
+
/* Junk for dfa.[ch] */
/* The __pure__ attribute was added in gcc 2.96. */
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)