|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 22/34] maint: ensure that MB_CUR_MAX is defined even when !MBS_SUPPORT |
Date: | Thu, 15 Sep 2011 13:11:19 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 |
On 09/15/2011 12:28 PM, Jim Meyering wrote:
From: Jim Meyering<address@hidden> * src/mbsupport.h [!MBS_SUPPORT] (MB_CUR_MAX): Define to 1. --- src/mbsupport.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/mbsupport.h b/src/mbsupport.h index 007f412..06729e1 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 -- 1.7.7.rc0.362.g5a14
Is this needed with gnulib? Also, if it is really needed it should be patch 1 in the series, shouldn't it?
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |