xref: /netbsd-src/lib/libc/regex/utils.h (revision 6931099e77be327d725250be10c7fc8b6f5316bd)
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 
6 typedef unsigned char uch;
7 
8 #ifndef REDEBUG
9 #ifndef NDEBUG
10 #define	NDEBUG	/* no assertions please */
11 #endif
12 #endif
13 #include <assert.h>
14