summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r--generic/regcomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c
index e8c4721..79e6536 100644
--- a/generic/regcomp.c
+++ b/generic/regcomp.c
@@ -243,6 +243,7 @@ struct vars {
#define EMPTYARC(x, y) newarc(v->nfa, EMPTY, 0, x, y)
/* token type codes, some also used as NFA arc types */
+#undef DIGIT /* prevent conflict with libtommath */
#define EMPTY 'n' /* no token present */
#define EOS 'e' /* end of string */
#define PLAIN 'p' /* ordinary character */