fix definition of _STATIC_ASSERT

svn path=/trunk/; revision=40005
This commit is contained in:
Timo Kreuzer 2009-03-13 23:41:12 +00:00
parent 3f46303c0e
commit 8b8a92d9da

View file

@ -25,7 +25,7 @@ extern "C" {
#endif
#ifndef _STATIC_ASSERT
#define _STATIC_ASSERT(expr) typedef char __static_assert_t[(expr)]
#define _STATIC_ASSERT(expr) typedef char __static_assert_t[(expr)?1:-1]
#endif
/* Return codes for _heapwalk() */