aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-11 00:17:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-11 00:17:09 +0200
commit01a1e41bbb650d0d31512d0cd3a04225c5493d77 (patch)
tree916b05ead6ee0557e3600c4e6a60a8916a220a43 /src
parenta44d67eeed2bae1f268db5e480a37a29625cdf00 (diff)
Define GCC-specific macros in make.c
Diffstat (limited to 'src')
-rw-r--r--src/lexer.c8
1 files changed, 0 insertions, 8 deletions
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)