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.
This commit is contained in:
Paul Eggert 2018-08-22 17:46:32 -07:00
parent debc4c9870
commit b35d3509ca
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
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.
2018-08-22 Joseph Myers <joseph@codesourcery.com> 2018-08-22 Joseph Myers <joseph@codesourcery.com>
* math/test-double-vlen2.h: Don't include <math-tests-rounding.h>. * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.

View File

@ -149,7 +149,10 @@
/* Rename to standard API for using out of glibc. */ /* Rename to standard API for using out of glibc. */
#ifndef _LIBC #ifndef _LIBC
# undef __wctype # undef __wctype
# undef __iswalnum
# undef __iswctype # undef __iswctype
# undef __towlower
# undef __towupper
# define __wctype wctype # define __wctype wctype
# define __iswalnum iswalnum # define __iswalnum iswalnum
# define __iswctype iswctype # define __iswctype iswctype