mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
- Fix problem with ASSERT & ASSERTMSG when compiled with g++
svn path=/trunk/; revision=44101
This commit is contained in:
parent
7d088d0725
commit
844a591298
|
@ -5832,11 +5832,11 @@ KeAcquireSpinLockRaiseToDpc(
|
||||||
|
|
||||||
#define ASSERT(exp) \
|
#define ASSERT(exp) \
|
||||||
(VOID)((!(exp)) ? \
|
(VOID)((!(exp)) ? \
|
||||||
RtlAssert( #exp, __FILE__, __LINE__, NULL ), FALSE : TRUE)
|
RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, NULL ), FALSE : TRUE)
|
||||||
|
|
||||||
#define ASSERTMSG(msg, exp) \
|
#define ASSERTMSG(msg, exp) \
|
||||||
(VOID)((!(exp)) ? \
|
(VOID)((!(exp)) ? \
|
||||||
RtlAssert( #exp, __FILE__, __LINE__, msg ), FALSE : TRUE)
|
RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, msg ), FALSE : TRUE)
|
||||||
|
|
||||||
#define RTL_SOFT_ASSERT(exp) \
|
#define RTL_SOFT_ASSERT(exp) \
|
||||||
(VOID)((!(exp)) ? \
|
(VOID)((!(exp)) ? \
|
||||||
|
|
Loading…
Reference in a new issue