diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/internal/locale_impl.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/internal/locale_impl.h b/src/internal/locale_impl.h index 85db7933..f5e4d9b4 100644 --- a/src/internal/locale_impl.h +++ b/src/internal/locale_impl.h @@ -34,4 +34,7 @@ const char *__lctrans_cur(const char *);  #define CURRENT_UTF8 (!!__pthread_self()->locale->cat[LC_CTYPE]) +#undef MB_CUR_MAX +#define MB_CUR_MAX (CURRENT_UTF8 ? 4 : 1) +  #endif | 
