From: Wayne Davison Date: Fri, 5 Oct 2007 20:40:36 +0000 (+0000) Subject: Make sure ICONV_OPTION is unset if we didn't find iconv_open() X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/215465713b5b9df1da371c5a871af6a67ecdc0c6 Make sure ICONV_OPTION is unset if we didn't find iconv_open() and iconv.h. --- diff --git a/rsync.h b/rsync.h index 503713b4..a8463583 100644 --- 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