summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-05-21 18:45:15 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-05-21 18:45:15 +0000
commit6535a6162336e45794714c5f4d828cab2de02851 (patch)
treef0f3e1098c1714f027d8ef13ea0d11e80feec4ab
parent5f320f2d91c76d696dd446980e92b53435263f68 (diff)
Small fix from EGE.
-rw-r--r--mbyte.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbyte.h b/mbyte.h
index 464085ac..1f25dc71 100644
--- a/mbyte.h
+++ b/mbyte.h
@@ -6,11 +6,13 @@ extern int Charset_is_utf8;
size_t utf8rtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *_ps);
+#ifndef HAVE_WC_FUNCS
int wctomb (char *s, wchar_t wc);
int mbtowc (wchar_t *pwc, const char *s, size_t n);
size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);
int iswprint (wint_t wc);
int wcwidth (wchar_t wc);
+#endif /* !HAVE_WC_FUNCS */
wchar_t replacement_char (void);