winnt.h: Use the same C_ASSERT version on all compilers.
It works on MSCV as well. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3acd943275
commit
b1aba79b8b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue