projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply choice patch for proper handling of clearing
[wxWidgets.git]
/
src
/
regex
/
regc_nfa.c
diff --git
a/src/regex/regc_nfa.c
b/src/regex/regc_nfa.c
index 9881cd4304de5c5ca96046c2bf7ae95a7c85faca..5f65c8d83a8ad0a0a89e3d86650b40ae2dbbc26e 100644
(file)
--- a/
src/regex/regc_nfa.c
+++ b/
src/regex/regc_nfa.c
@@
-972,6
+972,13
@@
struct arc *con;
^ #def COMPATIBLE 3 // compatible but not satisfied yet
^ static int combine(struct arc *, struct arc *);
*/
^ #def COMPATIBLE 3 // compatible but not satisfied yet
^ static int combine(struct arc *, struct arc *);
*/
+
+/* FIXME Required for CW 8 on Mac since it's not in limits.h */
+#ifndef __CHAR_BIT__
+#define __CHAR_BIT__ 8
+#endif
+
+
static int
combine(con, a)
struct arc *con;
static int
combine(con, a)
struct arc *con;