X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/aea4bf2894f1fc1d060720a8583104f6391447a6..468d7668191980c337e37cd3980f80dcd8e9c0fd:/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 (*)())