- Fix ASSERT macro

svn path=/trunk/; revision=54675
This commit is contained in:
Rafal Harabien 2011-12-17 22:55:05 +00:00
parent 60239d4e4c
commit e8e0af66e7

View file

@ -208,12 +208,12 @@ RtlConvertUlongToLuid(ULONG Ulong)
#define ASSERT( exp ) \
((void)((!(exp)) ? \
(RtlAssert( #exp, __FILE__, __LINE__, NULL ),FALSE) : \
(RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, NULL ),FALSE) : \
TRUE))
#define ASSERTMSG( msg, exp ) \
((void)((!(exp)) ? \
(RtlAssert( #exp, __FILE__, __LINE__, msg ),FALSE) : \
(RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, (PCHAR)msg ),FALSE) : \
TRUE))
#else