mirror of
https://github.com/reactos/reactos.git
synced 2026-07-05 11:44:42 +08:00
fix definition of _STATIC_ASSERT
svn path=/trunk/; revision=40005
This commit is contained in:
@@ -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() */
|
||||
|
||||
Reference in New Issue
Block a user