1 /* $Id: assert.h,v 1.5 2002/10/29 04:45:08 rex Exp $
6 * verify program assertion. Conforming to the Single UNIX(r) Specification
7 * Version 2, System Interface & Headers Issue 5
9 * This file is part of the ReactOS Operating System.
12 * Created by KJK::Hyperion <noog@libero.it>
14 * THIS SOFTWARE IS NOT COPYRIGHTED
16 * This source code is offered for use in the public domain. You may
17 * use, modify or distribute it freely.
19 * This code is distributed in the hope that it will be useful but
20 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
21 * DISCLAMED. This includes but is not limited to warranties of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25 #ifndef __ASSERT_H_INCLUDED__
26 #define __ASSERT_H_INCLUDED__
40 #define assert(IGNORE) ((void) 0)
46 #define assert(EXPRESSION) \
49 fputs("__FILE__, line __LINE__: assertion \"EXPRESSION\" failed\n", stderr); \
55 #endif /* __ASSERT_H_INCLUDED__ */