summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-08-22 18:47:53 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-08-22 18:47:53 +0300
commita495689c8c3e2aeef367409c4e2beddcda042312 (patch)
tree00780a4c62e277d8d0769ba9b67678935cd1d0f3
parent5397f91211669c5312a08ba7d5aa65dd3c990501 (diff)
downloadgawk-feature/gnulib-regex.tar.gz
z/OS compile fix for GNULIB regex.feature/gnulib-regex
-rw-r--r--support/ChangeLog5
-rw-r--r--support/regex_internal.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index 1cde0018..9ba646f0 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2018-08-22 Daniel Richard G. <skunk@iSKUNK.ORG>
+
+ * regex_internal.h: Undefine additional macros in order
+ to compile on z/OS.
+
2018-08-10 Arnold D. Robbins <arnold@skeeve.com>
* dfa.c: Sync with GNULIB.
diff --git a/support/regex_internal.h b/support/regex_internal.h
index 3b836ed2..c7880667 100644
--- a/support/regex_internal.h
+++ b/support/regex_internal.h
@@ -149,7 +149,10 @@
/* Rename to standard API for using out of glibc. */
#ifndef _LIBC
# undef __wctype
+# undef __iswalnum
# undef __iswctype
+# undef __towlower
+# undef __towupper
# define __wctype wctype
# define __iswalnum iswalnum
# define __iswctype iswctype