Basic FreeType renderer implementation.
[gdipp.git] / gdipp_server / fassert.h
blob3e562e586519fe27ef1e559b41b73f7ee0bcbf4d
1 #pragma once
3 #include <crtdefs.h>
5 #undef assert
7 #ifdef NDEBUG
9 #define assert(_Expression) ((void)0)
11 #else
13 void __cdecl _fassert(_In_z_ const wchar_t * _Message, _In_z_ const wchar_t *_File, _In_ unsigned _Line);
15 #define assert(_Expression) (void)( (!!(_Expression)) || (_fassert(_CRT_WIDE(#_Expression), _CRT_WIDE(__FILE__), __LINE__), 0) )
17 #endif /* NDEBUG */