X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca4086b22723db16d7e0fc23aa9021b4785096a..6dfbea27b9d581dbb6c033e2b336d6035f5e4fc8:/src/regex/regc_nfa.c

diff --git a/src/regex/regc_nfa.c b/src/regex/regc_nfa.c
index 9881cd4304..5f65c8d83a 100644
--- 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 *);
  */
+ 
+/* 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;