windows-nt/Source/XPSP1/NT/shell/osshell/accesory/calc/wassert.h

19 lines
539 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/****************************Module*Header***********************************\
* Module Name: WASSERT
*
* Module Descripton: Quick Win32 assert code.
*
* Warnings:
*
* Created: 15 July 1993
*
* Author: Raymond E. Endres [rayen@microsoft.com]
\****************************************************************************/
#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