aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-06 11:25:36 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-06 11:25:36 +0000
commit00c5b27bfaa34c57bd4e148fbd52b4f6e1e0262d (patch)
tree1e29a506e8b27c885173b04d17117685287f1091 /terminal.h
parentrender: reverse video only reverses the default background/foreground (diff)
vt: add branch hinting to PRINT action
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 099e384a..235108af 100644
--- a/terminal.h
+++ b/terminal.h
@@ -12,6 +12,9 @@
#include "tllist.h"
+#define likely(c) __builtin_expect(!!(c), 1)
+#define unlikely(c) __builtin_expect(!!(c), 0)
+
struct wayland {
struct wl_display *display;
struct wl_registry *registry;