diff options
author | Wayne Davison <wayne@opencoder.net> | 2020-06-16 22:40:55 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2020-06-16 22:58:24 -0700 |
commit | 2c681b874e181bac740d208daf158fd76d9023b6 (patch) | |
tree | c20cec420093456344391e9905a9f6a75857765c /options.c | |
parent | e44e79cedbf2d5f00f556374f476a3b0daa8ff50 (diff) | |
download | rsync-2c681b874e181bac740d208daf158fd76d9023b6.tar.gz |
Some fixes after compiling on cygwin.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -200,8 +200,11 @@ int list_only = 0; char *batch_name = NULL; int need_unsorted_flist = 0; +char *iconv_opt = #ifdef ICONV_OPTION -char *iconv_opt = ICONV_OPTION; + ICONV_OPTION; +#else + NULL; #endif struct chmod_mode_struct *chmod_modes = NULL; @@ -308,9 +311,7 @@ static int refused_partial, refused_progress, refused_delete_before; static int refused_delete_during; static int refused_inplace, refused_no_iconv; static BOOL usermap_via_chown, groupmap_via_chown; -#ifdef HAVE_SETVBUF static char *outbuf_mode; -#endif static char *bwlimit_arg, *max_size_arg, *min_size_arg; static char tmp_partialdir[] = ".~tmp~"; |