mirror of https://github.com/tongzx/nt5src
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.
18 lines
539 B
18 lines
539 B
/****************************Module*Header***********************************\
|
|
* Module Name: WASSERT
|
|
*
|
|
* Module Descripton: Quick Win32 assert code.
|
|
*
|
|
* Warnings:
|
|
*
|
|
* Created: 15 July 1993
|
|
*
|
|
* Author: Raymond E. Endres [[email protected]]
|
|
\****************************************************************************/
|
|
|
|
#ifndef _DEBUG
|
|
#define ASSERT(exp) ((void)0)
|
|
#else
|
|
void vAssert(TCHAR * pszExp, TCHAR * pszFile, int iLine);
|
|
#define ASSERT(exp) (void)( (exp) || (vAssert(TEXT(#exp), TEXT(__FILE__), __LINE__), 0) )
|
|
#endif
|