Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
613 B

// assert_.h - assert specific to the pdb project
extern "C" void failAssertion(const char* szFile, int line);
extern "C" void failExpect(const char* szFile, int line);
#if defined(_DEBUG)
#define assert(x) if (!(x)) { failAssertion(__FILE__, __LINE__); } else
#define verify(x) assert(x)
#define dassert(x) assert(x)
#define expect(x) if (!(x)) { failExpect(__FILE__, __LINE__); } else
extern BOOL rgbEnableDiagnostic[20];
#define dprintf(args) printf args
#define debug(x) x
#else
#define assert(x)
#define verify(x) (x)
#define dassert(x)
#define expect(x)
#define dprintf(args)
#define debug(x)
#endif