windows-nt/Source/XPSP1/NT/windows/netdde/incs/wwassert.h
2020-09-26 16:20:57 +08:00

18 lines
296 B
C

#ifndef H__assert
#define H__assert
#include "debug.h"
VOID FAR PASCAL AssertLog( LPSTR, int );
#define USES_ASSERT static char *__assertFile__ = __FILE__;
#define assert(x) \
{ \
if( !(x) ) { \
AssertLog( __assertFile__, __LINE__ ); \
} \
}
#endif