Leaked source code of windows server 2003
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.
 
 
 
 
 
 

36 lines
971 B

#ifdef __cplusplus
extern "C" { /* Assume C declarations for C++ */
#endif /* __cplusplus */
#ifdef DEBUG
void CDECL dprintf(LPSTR, ...);
void CDECL dprintf2(LPSTR, ...);
void CDECL dprintf3(LPSTR, ...);
#define DPF dprintf
#define DPF2 dprintf2
#define DPF3 dprintf3
#else
#define DPF ; / ## /
#define DPF2 ; / ## /
#define DPF3 ; / ## /
#endif
#undef Assert
#undef AssertSz
#ifdef DEBUG
/* Assert() macros */
#define AssertSz(x,sz) ((x) ? (void)0 : (void)_Assert(sz, __FILE__, __LINE__))
#define Assert(expr) AssertSz(expr, #expr)
extern void FAR PASCAL _Assert(char *szExp, char *szFile, int iLine);
#else
/* Assert() macros */
#define AssertSz(expr) ((void)0)
#define Assert(expr) ((void)0)
#endif
#ifdef __cplusplus
} /* End of extern "C" { */
#endif /* __cplusplus */