diff --git a/cogl/cogl/cogl-util.h b/cogl/cogl/cogl-util.h index 295800f67..8fafec250 100644 --- a/cogl/cogl/cogl-util.h +++ b/cogl/cogl/cogl-util.h @@ -141,14 +141,6 @@ _cogl_util_pixel_format_from_masks (unsigned long r_mask, int depth, int bpp, int byte_order); -/* Since we can't rely on _Static_assert always being available for - * all compilers we have limited static assert that can be used in - * C code but not in headers. - */ -#define _COGL_TYPEDEF_ASSERT(EXPRESSION) \ - typedef struct { char Compile_Time_Assertion[(EXPRESSION) ? 1 : -1]; } \ - G_PASTE (_GStaticAssert_, __LINE__) - /* _COGL_STATIC_ASSERT: * @expression: An expression to assert evaluates to true at compile * time.