Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eglib
diff options
context:
space:
mode:
Diffstat (limited to 'eglib')
-rw-r--r--eglib/src/giconv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/eglib/src/giconv.c b/eglib/src/giconv.c
index a6f222dfe87..c7723fef5b4 100644
--- a/eglib/src/giconv.c
+++ b/eglib/src/giconv.c
@@ -199,8 +199,11 @@ g_iconv (GIConv cd, gchar **inbytes, gsize *inbytesleft,
} else {
outleftptr = NULL;
}
-
+#if defined(__NetBSD__)
+ return iconv (cd->cd, (const gchar **)inbytes, inleftptr, outbytes, outleftptr);
+#else
return iconv (cd->cd, inbytes, inleftptr, outbytes, outleftptr);
+#endif
}
#endif