summaryrefslogtreecommitdiffstats
path: root/binutils/winduni.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/winduni.c')
-rw-r--r--binutils/winduni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/winduni.c b/binutils/winduni.c
index 1af3c39cb6..f811de7d73 100644
--- a/binutils/winduni.c
+++ b/binutils/winduni.c
@@ -616,7 +616,7 @@ codepage_from_unicode (rc_uint_type *length, const unichar *unicode, char **asci
*length = len;
}
-#ifdef HAVE_ICONV
+#if defined (HAVE_ICONV) && !defined (_WIN32) && !defined (__CYGWIN__)
static int
iconv_onechar (iconv_t cd, ICONV_CONST char *s, char *d, int d_len, const char **n_s, char **n_d)
{
OpenPOWER on IntegriCloud