aboutsummaryrefslogtreecommitdiffstats
path: root/dfa.c
diff options
context:
space:
mode:
Diffstat (limited to 'dfa.c')
-rw-r--r--dfa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dfa.c b/dfa.c
index d1046b31..29c854f2 100644
--- a/dfa.c
+++ b/dfa.c
@@ -532,6 +532,8 @@ mbs_to_wchar (wint_t *pwc, char const *s, size_t n, struct dfa *d)
*pwc = wc;
return 1;
}
+#else
+#define mbs_to_wchar(pwc, s, n, d) (WEOF)
#endif
#ifdef DEBUG