summaryrefslogtreecommitdiffstats
path: root/mbyte.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-06-08 13:36:25 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-06-08 13:36:25 +0000
commit7cf0935486cf6280b494c03c25c5f184102a7db2 (patch)
treed516e37146d110b1c7876fca80d9afabc20820a3 /mbyte.c
parent049139e31e2ba3d80b74072367ea87415aaefcd6 (diff)
Removing the built-in charset support.
Diffstat (limited to 'mbyte.c')
-rw-r--r--mbyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbyte.c b/mbyte.c
index ee6eab56..124febcb 100644
--- a/mbyte.c
+++ b/mbyte.c
@@ -81,7 +81,7 @@ int iswprint (wint_t wc)
#endif /* !HAVE_WC_FUNCS */
-#if !defined(HAVE_MBYTE) || !defined(HAVE_ICONV)
+#ifndef HAVE_MBYTE
size_t utf8rtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *_ps)
{
@@ -170,7 +170,7 @@ size_t utf8rtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *_ps)
return (size_t)-2;
}
-#endif /* !defined(HAVE_MBYTE) || !defined(HAVE_ICONV) */
+#endif /* !HAVE_MBYTE */
wchar_t replacement_char ()
{