From 4fec43067e27c7a6c20a6ef9909bef0238984a64 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 30 May 2017 14:43:49 +0200 Subject: [PATCH] Workaround for older bisons --- conf/cf-lex.l | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 620c119c..66be3811 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -58,6 +58,11 @@ struct keyword { #include "conf/keywords.h" +/* Could be defined by Bison in cf-parse.tab.h, inteferes with SYM hash */ +#ifdef SYM +#undef SYM +#endif + static uint cf_hash(byte *c);