aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
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;