2025-04-27 07:49:33 -04:00

18 lines
313 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