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.
 
 
 
 
 
 

48 lines
436 B

/*
* Define the assert() macro for windows apps.
*
* The macro will only be expanded to a function call if DEBUG is
* defined.
*
*/
#undef assert
#ifndef DEBUG
#define assert(exp) ((void)0)
#else
void FAR PASCAL WinAssert
(
LPSTR lpstrModule,
LPSTR lpstrFile,
DWORD dwLine
);
#define assert(exp) \
( (exp) ? (void) 0 : WinAssert(#exp, __FILE__, __LINE__) )
#endif