bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 22/34] maint: ensure that MB_CUR_MAX is defined even when !MBS_SU


From: Jim Meyering
Subject: [PATCH 22/34] maint: ensure that MB_CUR_MAX is defined even when !MBS_SUPPORT
Date: Thu, 15 Sep 2011 12:28:05 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]