aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-08-22 17:46:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-08-22 17:46:32 -0700
commitb35d3509caee04b2e196bb832138e4e4042347db (patch)
tree397245917a12f15fc47a485b7a5239c8a234f2f3 /posix
parentdebc4c9870dcf9f495561d3f7d8afd52878fecf0 (diff)
downloadglibc-b35d3509caee04b2e196bb832138e4e4042347db.zip
glibc-b35d3509caee04b2e196bb832138e4e4042347db.tar.gz
glibc-b35d3509caee04b2e196bb832138e4e4042347db.tar.bz2
regex: port Gnulib code to z/OS POSIX environment
Problem reported by Arnold Robbins in: https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]: Undef.
Diffstat (limited to 'posix')
-rw-r--r--posix/regex_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 3b836ed..c788066 100644
--- a/posix/regex_internal.h
+++ b/posix/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