bug-grep
[Top][All Lists]
Advanced

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

[PATCH 32/34] build: allow compilation once again with ! MBS_SUPPORT


From: Jim Meyering
Subject: [PATCH 32/34] build: allow compilation once again with ! MBS_SUPPORT
Date: Thu, 15 Sep 2011 12:28:15 +0200

From: Jim Meyering <address@hidden>

* src/dfa.c [! MBS_SUPPORT] (setbit_wc): Define to always abort.
---
 src/dfa.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/dfa.c b/src/dfa.c
index ee4ba3c..ba79dde 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -581,7 +581,8 @@ setbit_c (int b, charclass c)
   setbit (b, c);
 }
 #else
-#define setbit_c setbit
+# define setbit_c setbit
+static inline bool setbit_wc (wint_t wc, charclass c) { abort (); }
 #endif

 /* Like setbit_c, but if case is folded, set both cases of a letter.  For
-- 
1.7.7.rc0.362.g5a14




reply via email to

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