1 /* utility definitions */ 2 #define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */ 3 #define INFINITY (DUPMAX + 1) 4 #define NC (CHAR_MAX - CHAR_MIN + 1) 5 typedef unsigned char uch; 6 7 /* switch off assertions (if not already off) if no REDEBUG */ 8 #ifndef REDEBUG 9 #ifndef NDEBUG 10 #define NDEBUG /* no assertions please */ 11 #endif 12 #endif 13 #include <assert.h> 14 15 /* for old systems with bcopy() but no memmove() */ 16 #ifdef USEBCOPY 17 #define memmove(d, s, c) bcopy(s, d, c) 18 #endif 19