summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/sysvipc/ipc.h')
-rw-r--r--libc/misc/sysvipc/ipc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/misc/sysvipc/ipc.h b/libc/misc/sysvipc/ipc.h
index 5b861aeef..b342dc1cf 100644
--- a/libc/misc/sysvipc/ipc.h
+++ b/libc/misc/sysvipc/ipc.h
@@ -3,7 +3,9 @@
#include <syscall.h>
#include <bits/wordsize.h>
-#ifndef __IPC_64
+#ifndef __ARCH_HAS_DEPRECATED_SYSCALLS__
+# define __IPC_64 0x0
+#else
# if __WORDSIZE == 32 || defined __alpha__ || defined __mips__
# define __IPC_64 0x100
# else