Parcourir la source

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

Sergey Poznyakoff il y a 21 ans
Parent
commit
e662d0f367
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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