diff src/lib-charset/charset-iconv.c @ 1300:952bf533c2ea HEAD

Better iconv() checking.
author Timo Sirainen <tss@iki.fi>
date Mon, 17 Mar 2003 06:36:46 +0200
parents fd8888f6f037
children 8f56379c3917
line wrap: on
line diff
--- a/src/lib-charset/charset-iconv.c	Sun Mar 16 16:33:29 2003 +0200
+++ b/src/lib-charset/charset-iconv.c	Mon Mar 17 06:36:46 2003 +0200
@@ -4,17 +4,11 @@
 #include "buffer.h"
 #include "charset-utf8.h"
 
-#ifdef HAVE_ICONV_H
+#ifdef HAVE_ICONV
 
 #include <iconv.h>
 #include <ctype.h>
 
-#ifdef __sun__
-#  define ICONV_CONST const
-#else
-#  define ICONV_CONST
-#endif
-
 struct charset_translation {
 	iconv_t cd;
 	int ascii;