mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +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
1 changed files with 2 additions and 2 deletions
|
@ -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)) ? \
|
||||
|
|
Loading…
Reference in a new issue