mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[NDK]
- Fix ASSERT macro svn path=/trunk/; revision=54675
This commit is contained in:
parent
60239d4e4c
commit
e8e0af66e7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue