X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6d0e5d2e6254a3b012acfc724fc1aaf98defd7a6..87a57a3072c0fe742b154bd62869cc08c65625bb:/rsync.h diff --git a/rsync.h b/rsync.h index a647e88d..e079a653 100644 --- a/rsync.h +++ b/rsync.h @@ -103,8 +103,8 @@ #define IOERR_DEL_LIMIT (1<<2) #define MAX_ARGS 1000 - #define MAX_BASIS_DIRS 20 +#define MAX_SERVER_ARGS (MAX_BASIS_DIRS*2 + 100) #define MPLEX_BASE 7 @@ -139,7 +139,6 @@ #define DEL_TERSE (1<<3) /* For use by the itemize_changes code */ -#define ITEM_DUMMY_BIT (1<<0) #define ITEM_REPORT_CHECKSUM (1<<1) #define ITEM_REPORT_SIZE (1<<2) #define ITEM_REPORT_TIME (1<<3) @@ -675,8 +674,12 @@ extern char *sys_errlist[]; extern int errno; #endif -#define SUPPORT_LINKS HAVE_READLINK -#define SUPPORT_HARD_LINKS HAVE_LINK +#ifdef HAVE_READLINK +#define SUPPORT_LINKS 1 +#endif +#ifdef HAVE_LINK +#define SUPPORT_HARD_LINKS 1 +#endif #define SIGNAL_CAST (RETSIGTYPE (*)())