浏览代码

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

Sergey Poznyakoff 21 年之前
父节点
当前提交
e662d0f367
共有 1 个文件被更改,包括 4 次插入0 次删除
  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