Sfoglia il codice sorgente

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

Sergey Poznyakoff 21 anni fa
parent
commit
e662d0f367
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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