aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2020-08-04 22:28:16 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2020-08-04 22:28:16 +0000
commitf1fce96a1d8026474b2cd56a855fd001cfd108b6 (patch)
tree206fb3ee72c8cffb11ca9bfd2fc827c0c61a1ce5 /terminal.h
parentgrid: reflow: don't insert <width> spacer cells for *every* empty cell (diff)
config: handle allocation failure explicitly
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/terminal.h b/terminal.h
index 9d9ed1be..1b41848d 100644
--- a/terminal.h
+++ b/terminal.h
@@ -13,12 +13,10 @@
//#include "config.h"
#include "fdm.h"
+#include "macros.h"
#include "reaper.h"
#include "wayland.h"
-#define likely(c) __builtin_expect(!!(c), 1)
-#define unlikely(c) __builtin_expect(!!(c), 0)
-
/*
* Note: we want the cells to be as small as possible. Larger cells
* means fewer scrollback lines (or performance drops due to cache