summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-06-16 22:40:55 -0700
committerWayne Davison <wayne@opencoder.net>2020-06-16 22:58:24 -0700
commit2c681b874e181bac740d208daf158fd76d9023b6 (patch)
treec20cec420093456344391e9905a9f6a75857765c /options.c
parente44e79cedbf2d5f00f556374f476a3b0daa8ff50 (diff)
downloadrsync-2c681b874e181bac740d208daf158fd76d9023b6.tar.gz
Some fixes after compiling on cygwin.
Diffstat (limited to 'options.c')
-rw-r--r--options.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/options.c b/options.c
index 787222a1..2e8731ab 100644
--- a/options.c
+++ b/options.c
@@ -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~";