Make sure ICONV_OPTION is unset if we didn't find iconv_open()
[rsync/rsync.git] / 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