File webkitgtk-2.4.11-compile_assert.patch of Package mingw32-webkitgtk
--- webkitgtk-2.4.11/Source/WTF/wtf/Assertions.h 2016-04-10 08:48:36.000000000 +0200 +++ webkitgtk-2.4.11/Source/WTF/wtf/Assertions.h 2018-09-11 13:05:31.794363597 +0200 @@ -319,12 +319,7 @@ /* COMPILE_ASSERT */ #ifndef COMPILE_ASSERT -#if COMPILER_SUPPORTS(C_STATIC_ASSERT) -/* Unlike static_assert below, this also works in plain C code. */ -#define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name) -#else -#define COMPILE_ASSERT(exp, name) static_assert((exp), #name) -#endif +#define COMPILE_ASSERT(exp, name) #endif /* FATAL */