Browse Source

Make sure ICONV_CONST is defined. AM_ICONV does not define it if it fails to find iconv.h.

Sergey Poznyakoff 21 years ago
parent
commit
e662d0f367
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/utf8.c

+ 4 - 0
src/utf8.c

@@ -23,6 +23,10 @@
 # include <iconv.h>
 #endif
 
+#ifndef ICONV_CONST
+# define ICONV_CONST
+#endif
+
 #ifdef HAVE_LIBICONV
 
 struct langtab