Browse Source

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>
Vineet Gupta 11 years ago
parent
commit
833820e6e2
1 changed files with 3 additions and 1 deletions
  1. 3 1
      libc/misc/sysvipc/ipc.h

+ 3 - 1
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