summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-30 14:43:49 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-30 14:43:49 +0200
commit4fec43067e27c7a6c20a6ef9909bef0238984a64 (patch)
treecaa1b881068af63a3494a1ea24e5e5b21bb1c140
parentb7761af34dc4ed3f1bdf874eb85d743b931b0af6 (diff)
Workaround for older bisons
-rw-r--r--conf/cf-lex.l5
1 files changed, 5 insertions, 0 deletions
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);