X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca4086b22723db16d7e0fc23aa9021b4785096a..241b769f9670cd372c45db51f5f71ba83f93bad5:/src/regex/regc_nfa.c?ds=sidebyside diff --git a/src/regex/regc_nfa.c b/src/regex/regc_nfa.c index 9881cd4304..2db51bc7b9 100644 --- a/src/regex/regc_nfa.c +++ b/src/regex/regc_nfa.c @@ -36,7 +36,7 @@ */ #define NISERR() VISERR(nfa->v) -#define NERR(e) VERR(nfa->v, (e)) +#define NERR(e) (void)VERR(nfa->v, (e)) /* @@ -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;