diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-08-16 19:57:19 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-08-16 19:57:19 +0000 |
commit | 7be570e7ce77920e2e628a03bdfe2d295fc2568f (patch) | |
tree | a49512270bb021f1d5171b362dc973e28c97ca94 /gdb/gnu-regex.c | |
parent | ed288bb597072176e84fc8279707a3f2f475779b (diff) | |
download | gdb-7be570e7ce77920e2e628a03bdfe2d295fc2568f.zip gdb-7be570e7ce77920e2e628a03bdfe2d295fc2568f.tar.gz gdb-7be570e7ce77920e2e628a03bdfe2d295fc2568f.tar.bz2 |
import gdb-1999-08-16 snapshot
Diffstat (limited to 'gdb/gnu-regex.c')
-rw-r--r-- | gdb/gnu-regex.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gnu-regex.c b/gdb/gnu-regex.c index ef79807..8051c12 100644 --- a/gdb/gnu-regex.c +++ b/gdb/gnu-regex.c @@ -1702,7 +1702,11 @@ typedef struct } \ } -#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H) +/* Use this only if they have btowc(), since wctype() is used below + together with btowc(). btowc() is defined in the 1994 Amendment 1 + to ISO C and may not be present on systems where we have wchar.h + and wctype.h. */ +#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_BTOWC) /* The GNU C library provides support for user-defined character classes and the functions from ISO C amendement 1. */ # ifdef CHARCLASS_NAME_MAX |