From 997dbc7f520c811e4c5325b9536f72cb454560cc Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 21 Sep 2011 22:45:28 +0300 Subject: Make no mbs support work everywhere. Sheesh. --- mbsupport.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mbsupport.h') diff --git a/mbsupport.h b/mbsupport.h index 4c9e9bfb..6008da77 100644 --- a/mbsupport.h +++ b/mbsupport.h @@ -36,6 +36,8 @@ #include #endif +#ifndef NO_MBSUPPORT + #if defined(HAVE_ISWCTYPE) \ && defined(HAVE_LOCALE_H) \ && defined(HAVE_MBRLEN) \ @@ -58,6 +60,10 @@ # define MBS_SUPPORT 0 #endif +#else /* NO_MBSUPPORT is defined */ +# define MBS_SUPPORT 0 +#endif + #if ! MBS_SUPPORT # undef MB_CUR_MAX # define MB_CUR_MAX 1 -- cgit v1.2.3