aboutsummaryrefslogtreecommitdiff
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
commit832a94844fffdf222dd6726c26d2678daf440202 (patch)
tree3015f590d0e8b9aebfd7bf62db21f47dc108658d /readline/rlmbutil.h
parent6ece72dad9bbb3dda581c92d778c398e275ae7c0 (diff)
downloadgdb-832a94844fffdf222dd6726c26d2678daf440202.zip
gdb-832a94844fffdf222dd6726c26d2678daf440202.tar.gz
gdb-832a94844fffdf222dd6726c26d2678daf440202.tar.bz2
* 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 27ca32b..9b8464a 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