summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-03-14 17:51:28 +0530
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-14 22:27:19 +0100
commit833820e6e29806cc2ac59583e87a8931f6ad9a5e (patch)
tree9f1257a9152b471a364ae4af44a1be9ecf7f03c3 /libc/misc/sysvipc
parent1b1133555efaefe872191f24f989a986ac251830 (diff)
libc/ipc: Make IPC_64 0 for common-generic ABI
This avoids having to define __IPC_64 to 0 in each arch using the ABI Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/sysvipc')
-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