From 92369d5eeaa7dce0e99353ddadba2b0f63784e42 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 26 Jun 2017 03:34:03 -0400 Subject: [PATCH] Copy defines for renameat2 from casync (#6181) --- src/basic/missing_syscall.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index d4096b8..898116c 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -216,6 +216,10 @@ static inline pid_t raw_getpid(void) { # endif # elif defined __i386__ # define __NR_renameat2 353 +# elif defined __powerpc64__ +# define __NR_renameat2 357 +# elif defined __s390__ || defined __s390x__ +# define __NR_renameat2 347 # elif defined __arc__ # define __NR_renameat2 276 # else -- 2.7.4