X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6d0e5d2e6254a3b012acfc724fc1aaf98defd7a6..2a5d5a8cc4ad251d8d29e45e4be3d9c39228715b:/rsync.h diff --git a/rsync.h b/rsync.h index a647e88d..b0ca2385 100644 --- a/rsync.h +++ b/rsync.h @@ -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 (*)())