X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/051547603a1f094b5e21cd955ed00a1711ebf1fb..58af2f958cc9d66f09a58f24d4bfc153f63a6846:/syscall.c diff --git a/syscall.c b/syscall.c index f4985471..d093aaec 100644 --- a/syscall.c +++ b/syscall.c @@ -72,7 +72,7 @@ int do_lchown(const char *path, uid_t owner, gid_t group) { if (dry_run) return 0; RETURN_ERROR_IF_RO_OR_LO; -#ifdef HAVE_LCHOWN +#ifndef HAVE_LCHOWN #define lchown chown #endif return lchown(path, owner, group);