windows-nt/Source/XPSP1/NT/windows/netdde/incs/wwassert.h

18 lines
296 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#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