Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / clib / include / assert.h
blob2161bc923ffccbe714efacc38c6d31284cb8cdf0
1 #ifndef _ASSERT_H_
2 #define _ASSERT_H_
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: ANSI-C header file assert.h
9 Lang: english
12 #include <sys/cdefs.h>
14 #undef assert
16 #ifdef NDEBUG
17 #define assert(expr) ((void)0)
18 #else
19 #define assert(expr) (((expr)) ? (void)0 : __assert(#expr,__FILE__,__LINE__))
20 #endif
22 __BEGIN_DECLS
24 extern void __assert (const char *, const char *, unsigned int);
26 __END_DECLS
28 #endif /* _ASSERT_H_ */