windows-nt/Source/XPSP1/NT/inetsrv/intlwb/thai2/sth/wb_asserts.h

31 lines
523 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef _WORDBREAKASSERT_H_
#define _WORDBREAKASSERT_H_
#include <windows.h>
#if defined(__cplusplus)
extern "C" {
#endif
// Debugging stuff goes here
#if defined(_DEBUG)
#include <stdio.h>
void __cdecl AssertCore(BOOL f, char *pChErrorT, char *pchFile, int nLine);
#define Assert(_f_, _pChErrorT_) AssertCore(_f_, _pChErrorT_, __FILE__ , __LINE__)
BOOL FAlertContinue(char *pchAlert);
#else
#define Assert(_f_, _pChErrorT_)
#define FAlertContinue(_pchAlert_) TRUE
#endif
#if defined(__cplusplus)
}
#endif
#endif