aboutsummaryrefslogtreecommitdiff
path: root/readline/rlmbutil.h
diff options
context:
space:
mode:
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