X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca4086b22723db16d7e0fc23aa9021b4785096a..c56d73fe00d724fc3bba1eb9e22c584434c0dff4:/src/regex/regc_nfa.c?ds=sidebyside 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;