From f1fce96a1d8026474b2cd56a855fd001cfd108b6 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Tue, 4 Aug 2020 23:28:16 +0100 Subject: config: handle allocation failure explicitly --- terminal.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'terminal.h') 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 -- cgit v1.3