Commit b1aba79b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winnt.h: Use the same C_ASSERT version on all compilers.

It works on MSCV as well. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3acd9432
......@@ -388,11 +388,7 @@ extern "C" {
/* Compile time assertion */
#if defined(_MSC_VER)
# define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
#else
# define C_ASSERT(e) extern void __C_ASSERT__(int [(e)?1:-1])
#endif
#define C_ASSERT(e) extern void __C_ASSERT__(int [(e)?1:-1])
/* Eliminate Microsoft C/C++ compiler warning 4715 */
#if defined(_MSC_VER) && (_MSC_VER > 1200)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment