Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed HAVE_ICONV to HAVE_ICONV_OPEN.
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
b9db23b
..
2a2505a
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-21,7
+21,7
@@
process */
#include "rsync.h"
process */
#include "rsync.h"
-#if defined HAVE_ICONV && defined HAVE_ICONV_H
+#if defined HAVE_ICONV
_OPEN
&& defined HAVE_ICONV_H
#include <iconv.h>
#endif
#if defined HAVE_LIBCHARSET_H && defined HAVE_LOCALE_CHARSET
#include <iconv.h>
#endif
#if defined HAVE_LIBCHARSET_H && defined HAVE_LOCALE_CHARSET
@@
-50,7
+50,7
@@
extern int keep_dirlinks;
extern int make_backups;
extern struct stats stats;
extern int make_backups;
extern struct stats stats;
-#ifdef HAVE_ICONV
+#ifdef HAVE_ICONV
_OPEN
iconv_t ic_chck = (iconv_t)-1;
static char *default_charset(void)
iconv_t ic_chck = (iconv_t)-1;
static char *default_charset(void)