On 09/15/2011 12:28 PM, Jim Meyering wrote:
From: Jim Meyering<[email protected]>

* 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

Reply via email to