summaryrefslogtreecommitdiff
path: root/readline/rlmbutil.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-03-03 18:52:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-03-03 18:52:27 +0000
commit0db18c3fb56d5818a0ea9e5f5c89e47f41f02ced (patch)
tree4f841ad06e605df2e0331d98a85b77f78d1bda82 /readline/rlmbutil.h
parent31b3bd81e31a32d073272c7b923e1abd85ebebd0 (diff)
downloadgdb-0db18c3fb56d5818a0ea9e5f5c89e47f41f02ced.tar.gz
* aclocal.m4: Add check for mbrtowc.
* config.h.in: Regenerate. * configure: Regenerate. * rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
Diffstat (limited to 'readline/rlmbutil.h')
-rw-r--r--readline/rlmbutil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/readline/rlmbutil.h b/readline/rlmbutil.h
index 27ca32bfc7d..9b8464a07f5 100644
--- a/readline/rlmbutil.h
+++ b/readline/rlmbutil.h
@@ -35,7 +35,8 @@
#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
# include <wchar.h>
# include <wctype.h>
-# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */
+# if defined (HAVE_MBRTOWC) && defined (HAVE_MBSRTOWCS)
+ /* system is supposed to support XPG5 */
# define HANDLE_MULTIBYTE 1
# endif
#endif