View | Details | Raw Unified | Return to bug 265393 | Differences between
and this patch

Collapse All | Expand All

(-)a/x11/kitty/files/patch-kitty_data-types.h (-19 lines)
Removed Link Here
1
--- kitty/data-types.h.orig	2022-08-13 20:17:56 UTC
2
+++ kitty/data-types.h
3
@@ -164,14 +164,14 @@ typedef struct {
4
     sprite_index sprite_x, sprite_y, sprite_z;
5
     CellAttrs attrs;
6
 } GPUCell;
7
-static_assert(sizeof(GPUCell) == 20, "Fix the ordering of GPUCell");
8
+_Static_assert(sizeof(GPUCell) == 20, "Fix the ordering of GPUCell");
9
 
10
 typedef struct {
11
     char_type ch;
12
     hyperlink_id_type hyperlink_id;
13
     combining_type cc_idx[3];
14
 } CPUCell;
15
-static_assert(sizeof(CPUCell) == 12, "Fix the ordering of CPUCell");
16
+_Static_assert(sizeof(CPUCell) == 12, "Fix the ordering of CPUCell");
17
 
18
 typedef enum { UNKNOWN_PROMPT_KIND = 0, PROMPT_START = 1, SECONDARY_PROMPT = 2, OUTPUT_START = 3 } PromptKind;
19
 typedef union LineAttrs {

Return to bug 265393