#undef bmalloc
#define bmalloc(x) sm_malloc(__FILE__, __LINE__, x)
-#ifdef HAVE_CYGWIN
-static int win32_client = 1;
-#else
-static int win32_client = 0;
-#endif
-
+extern const int win32_client;
/*
* Initialize structures for filename matching
case 's':
inc->options |= FO_SPARSE;
break;
+ case 'm':
+ inc->options |= FO_MTIMEONLY;
+ break;
+ case 'k':
+ inc->options |= FO_KEEPATIME;
+ break;
case 'V': /* verify options */
/* Copy Verify Options */
for (j=0; *p && *p != ':'; p++) {
break;
}
}
-#ifdef HAVE_CYGWIN
+#if defined(HAVE_CYGWIN) || defined(HAVE_WIN32)
/* Convert any \'s into /'s */
for (p=inc->fname; *p; p++) {
if (*p == '\\') {
int len;
struct s_excluded_file *exc, **list;
-#ifdef HAVE_CYGWIN
+#if defined(HAVE_CYGWIN) || defined(HAVE_WIN32)
/* Convert any \'s into /'s */
for (char *p=fname; *p; p++) {
if (*p == '\\') {