diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-06-26 03:34:03 -0400 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-25 09:46:53 +0200 |
commit | 307680c4ba59739090ca3c9bd28e6c31c31ffe7c (patch) | |
tree | ea0f7f7bc3c6ea604dfeb7a0d9f67fa6a88b7afb /src/basic/missing_syscall.h | |
parent | 3daa986ebd3fd6d42853c12020a8c687ce681b26 (diff) |
Copy defines for renameat2 from casync (#6181)
Diffstat (limited to 'src/basic/missing_syscall.h')
-rw-r--r-- | src/basic/missing_syscall.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 5c5b54ee8..beadf369a 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -220,6 +220,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 |