chiark / gitweb /
Copy defines for renameat2 from casync (#6181)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Jun 2017 07:34:03 +0000 (03:34 -0400)
committerSven Eden <yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:46:53 +0000 (09:46 +0200)
src/basic/missing_syscall.h

index 5c5b54e..beadf36 100644 (file)
@@ -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