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-Tag: v3.0.0pre2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=215465713b5b9df1da371c5a871af6a67ecdc0c6;p=thirdparty%2Frsync.git 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