]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/sysv/linux/ipc_priv.h
sysvipc: Consolidate semtimedop s390
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / ipc_priv.h
index 7f517eb6fdfbdc0fa81a1e09e0a1ad940275f666..1d1bd19541b69a2146fd44a2491d4bf857639a92 100644 (file)
@@ -36,4 +36,9 @@ struct __old_ipc_perm
 #define MSGRCV_ARGS(__msgp, __msgtyp) \
   ((long int []){ (long int) __msgp, __msgtyp })
 
+/* This macro is required to handle the s390 variants, which passes the
+   arguments in a different order than default.  */
+#define SEMTIMEDOP_IPC_ARGS(__nsops, __sops, __timeout) \
+  (__nsops), 0, (__sops), (__timeout)
+
 #include <ipc_ops.h>