2 * assert.h - diagnostics
4 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
5 * See the copyright notice in the ACK home directory, in the file "Copyright".
7 /* $Id: assert.h,v 1.5 1994/06/24 11:40:23 ceriel Exp $ */
9 void __bad_assertion(const char *_mess);
14 #define __xstr(x) __str(x)
17 #define assert(ignore) ((void)0)
19 #define assert(expr) ((expr)? (void)0 : \
20 __bad_assertion("Assertion \"" #expr \
21 "\" failed, file " __xstr(__FILE__) \
22 ", line " __xstr(__LINE__) "\n"))