diff options
author | Jim Meyering <meyering@redhat.com> | 2011-09-11 19:51:32 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-09-16 14:29:55 +0200 |
commit | ba10005a6df3c2bb94cf85a6ddb28b26ff459af7 (patch) | |
tree | dc18f707b926cef6df4ada895ac59a0706786b9d /src | |
parent | 93927af364aa09dc23a50ca8e4c9a62af0132c59 (diff) | |
download | grep-ba10005a6df3c2bb94cf85a6ddb28b26ff459af7.tar.gz |
maint: ensure that MB_CUR_MAX is defined even when !MBS_SUPPORT
* src/mbsupport.h [!MBS_SUPPORT] (MB_CUR_MAX): Define to 1.
Diffstat (limited to 'src')
-rw-r--r-- | src/mbsupport.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbsupport.h b/src/mbsupport.h index 007f412a..06729e17 100644 --- a/src/mbsupport.h +++ b/src/mbsupport.h @@ -33,3 +33,8 @@ #else # define MBS_SUPPORT 0 #endif + +#if ! MBS_SUPPORT +# undef MB_CUR_MAX +# define MB_CUR_MAX 1 +#endif |