/*	@(#)assert.h	13.1 (RC International) 91/02/01 	*/

/*	Copyright (c) 1988 AT&T	*/
/*	  All Rights Reserved  	*/

/*	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T	*/
/*	The copyright notice above does not evidence any   	*/
/*	actual or intended publication of such source code.	*/

#ident	"@(#)head:assert.h	1.6.1.4"

#ifndef _ASSERT_H
#define _ASSERT_H

# ifndef NDEBUG
# define _assert(ex) {if (!(ex)){fprintf(stdout,"Assertion failed: file \"%s\", line %d\n", __FILE__, __LINE__);exit(1);}}
# define assert(ex) _assert(ex)
# else
# define _assert(ex)
# define assert(ex)
# endif

#endif /* _ASSERT_H */
