win32: malloc.h: fix win32 tcc-tcc complication by correcting _STATIC_ASSERT, ideas from mingw-w64 changeset 4293
stdarg.h, stddef.h: _mingw.h needs them
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) extern void __static_assert_t(int [(expr)?1:-1])
|
||||
#endif
|
||||
|
||||
/* Return codes for _heapwalk() */
|
||||
|
||||
Reference in New Issue
Block a user