projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing dangling includes
[wxWidgets.git]
/
src
/
regex
/
rege_dfa.c
diff --git
a/src/regex/rege_dfa.c
b/src/regex/rege_dfa.c
index 313892cc8fc0ee2be10a5bb6b83bca27bb229431..843c5d31b217f39109846283a6be606da15c1ca8 100644
(file)
--- a/
src/regex/rege_dfa.c
+++ b/
src/regex/rege_dfa.c
@@
-257,6
+257,12
@@
struct dfa *d;
^ static struct dfa *newdfa(struct vars *, struct cnfa *,
^ struct colormap *, struct smalldfa *);
*/
^ static struct dfa *newdfa(struct vars *, struct cnfa *,
^ struct colormap *, struct smalldfa *);
*/
+
+/* FIXME Required for CW 8 on Mac since it's not in limits.h */
+#ifndef __CHAR_BIT__
+#define __CHAR_BIT__ 8
+#endif
+
static struct dfa *
newdfa(v, cnfa, cm, small)
struct vars *v;
static struct dfa *
newdfa(v, cnfa, cm, small)
struct vars *v;