Make sure ICONV_OPTION is unset if we didn't find iconv_open()
authorWayne Davison <wayned@samba.org>
Fri, 5 Oct 2007 20:40:36 +0000 (20:40 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 5 Oct 2007 20:40:36 +0000 (20:40 +0000)
and iconv.h.

rsync.h

diff --git a/rsync.h b/rsync.h
index 503713b..a846358 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -377,6 +377,9 @@ enum msgcode {
 #ifdef ICONV_CONST
 #undef ICONV_CONST
 #endif
+#ifdef ICONV_OPTION
+#undef ICONV_OPTION
+#endif
 #ifdef iconv_t
 #undef iconv_t
 #endif