aboutsummaryrefslogtreecommitdiff
path: root/x11/kitty/files/extra-patch-kitty_data-types.h
blob: 3926ab024c921d26f7e62af56802764e25de4726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- kitty/data-types.h.orig	2022-08-22 11:08:26 UTC
+++ kitty/data-types.h
@@ -159,6 +159,10 @@ typedef union CellAttrs {
 #define NUM_UNDERLINE_STYLES (5u)
 #define SGR_MASK (~(((CellAttrs){.width=WIDTH_MASK, .mark=MARK_MASK}).val))
 
+#ifndef static_assert
+#define static_assert _Static_assert
+#endif
+
 typedef struct {
     color_type fg, bg, decoration_fg;
     sprite_index sprite_x, sprite_y, sprite_z;