xref: /csrg-svn/lib/libc/regex/utils.h (revision 56355)
155853Sbostic /*-
255853Sbostic  * Copyright (c) 1992 Henry Spencer.
355853Sbostic  * Copyright (c) 1992 The Regents of the University of California.
455853Sbostic  * All rights reserved.
555853Sbostic  *
655853Sbostic  * This code is derived from software contributed to Berkeley by
755853Sbostic  * Henry Spencer of the University of Toronto.
855853Sbostic  *
955853Sbostic  * %sccs.include.redist.c%
1055853Sbostic  *
11*56355Sbostic  *	@(#)utils.h	5.2 (Berkeley) 09/30/92
1255853Sbostic  */
1355853Sbostic 
1455853Sbostic /* utility definitions */
1555853Sbostic #define	DUPMAX		_POSIX2_RE_DUP_MAX	/* xxx is this right? */
1655853Sbostic #define	INFINITY	(DUPMAX+1)
1755853Sbostic #define	NUC		(UCHAR_MAX+1)
1855853Sbostic typedef unsigned char uchar;
1955853Sbostic 
20*56355Sbostic #ifndef REDEBUG
21*56355Sbostic #ifndef NDEBUG
22*56355Sbostic #define	NDEBUG	/* no assertions please */
2355853Sbostic #endif
24*56355Sbostic #endif
25*56355Sbostic #include <assert.h>
26