[dovecot-cvs] dovecot/src/lib-charset charset-iconv.c,1.13,1.14 charset-utf8.c,1.8,1.9

cras at procontrol.fi cras at procontrol.fi
Mon Mar 17 06:36:49 EET 2003


Update of /home/cvs/dovecot/src/lib-charset
In directory danu:/tmp/cvs-serv18254/src/lib-charset

Modified Files:
	charset-iconv.c charset-utf8.c 
Log Message:
Better iconv() checking.



Index: charset-iconv.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-charset/charset-iconv.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- charset-iconv.c	5 Jan 2003 13:09:51 -0000	1.13
+++ charset-iconv.c	17 Mar 2003 04:36:47 -0000	1.14
@@ -4,16 +4,10 @@
 #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;

Index: charset-utf8.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-charset/charset-utf8.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- charset-utf8.c	13 Jan 2003 20:56:44 -0000	1.8
+++ charset-utf8.c	17 Mar 2003 04:36:47 -0000	1.9
@@ -31,7 +31,7 @@
 }
 
 
-#ifndef HAVE_ICONV_H
+#ifndef HAVE_ICONV
 
 #include <ctype.h>
 




More information about the dovecot-cvs mailing list