Explorar el Código

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

Sergey Poznyakoff hace 21 años
padre
commit
e662d0f367
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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