Don't let ASSERT_SRW_WAITBLOCK evaluate to nothing - make it evaluate to (void)0, like ASSERT would

See issue #3608 for more details.

svn path=/trunk/; revision=37705
This commit is contained in:
KJK::Hyperion 2008-11-28 14:38:41 +00:00
parent b4e5e64c26
commit e18cdbe06b

View file

@ -50,7 +50,7 @@
#define ASSERT_SRW_WAITBLOCK(ptr) \
ASSERT(((ULONG_PTR)ptr & ((1 << RTL_SRWLOCK_BITS) - 1)) == 0)
#else
#define ASSERT_SRW_WAITBLOCK(ptr)
#define ASSERT_SRW_WAITBLOCK(ptr) ((void)0)
#endif
typedef struct _RTLP_SRWLOCK_SHARED_WAKE