From 01a1e41bbb650d0d31512d0cd3a04225c5493d77 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 11 Jun 2024 00:17:09 +0200 Subject: Define GCC-specific macros in make.c --- src/lexer.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/lexer.c b/src/lexer.c index 8ca35e7..4df1e52 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -12,14 +12,6 @@ #include "lexer.h" #include "unicode.h" -#ifdef __GNUC__ -# define likely(x) __builtin_expect(!!(x), 1) -# define unlikely(x) __builtin_expect(!!(x), 0) -#else -# define likely(x) (x) -# define unlikely(x) (x) -#endif - #define LEXEMES_DFLT_CAP (2048) #define SIZE_WDTH (sizeof(size_t) * CHAR_BIT) -- cgit v1.2.3