- Fix problem with ASSERT & ASSERTMSG when compiled with g++

svn path=/trunk/; revision=44101
This commit is contained in:
Johannes Anderwald 2009-11-11 10:53:52 +00:00
parent 7d088d0725
commit 844a591298

View file

@ -5832,11 +5832,11 @@ KeAcquireSpinLockRaiseToDpc(
#define ASSERT(exp) \
(VOID)((!(exp)) ? \
RtlAssert( #exp, __FILE__, __LINE__, NULL ), FALSE : TRUE)
RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, NULL ), FALSE : TRUE)
#define ASSERTMSG(msg, exp) \
(VOID)((!(exp)) ? \
RtlAssert( #exp, __FILE__, __LINE__, msg ), FALSE : TRUE)
RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, msg ), FALSE : TRUE)
#define RTL_SOFT_ASSERT(exp) \
(VOID)((!(exp)) ? \