@@ -342,6 +361,8 @@
 	if (ic == (iconv_t)-1)
 		return NULL;
 	
+#endif
+
 	/* Convert to UTF-32 (wchar_t on glibc systems).
 	   Skip the first character (2-bytes). */
 	inptr = buf+2;



@@ -342,6 +361,8 @@
 	if (ic == (iconv_t)-1)
 		return NULL;
 	
+#endif
+
 	/* Convert to UTF-32 (wchar_t on glibc systems).
 	   Skip the first character (2-bytes). */
 	inptr = buf+2;
