| ![[BACK]](/cvs/cvsweb/icons/back.gif) Return to assert.h CVS log ![[TXT]](/cvs/cvsweb/icons/text.gif) | ![[DIR]](/cvs/cvsweb/icons/dir.gif) Up to  [RetroPC.NET] / xmil / adv / agb / advlibc / include | 
RetroPC CVS restarting 2005/02/04 (T.Yui)
#ifndef _ADVLIBC_ASSERT_
#define _ADVLIBC_ASSERT_
#include	"./advtypes.h"
#ifdef __cplusplus
extern "C" {
#endif
void LIBCCALL _assert(const void *flag, const void *file, unsigned int line);
#if !defined(DEBUG)
#define assert(exp)	((void)0)
#else
#define assert(exp)	\
				((exp)?(void)0:_assert(#exp, __FILE__, __LINE__))
#endif
#ifdef __cplusplus
}
#endif
#endif