[git commit] libc/ipc: Make IPC_64 0 for common-generic ABI

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Mar 14 21:27:19 UTC 2013


commit: http://git.uclibc.org/uClibc/commit/?id=833820e6e29806cc2ac59583e87a8931f6ad9a5e
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

This avoids having to define __IPC_64 to 0 in each arch using the ABI

Signed-off-by: Vineet Gupta <vgupta at synopsys.com>
Cc: Markos Chandras <markos.chandras at imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/misc/sysvipc/ipc.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/libc/misc/sysvipc/ipc.h b/libc/misc/sysvipc/ipc.h
index 5b861ae..b342dc1 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


More information about the uClibc-cvs mailing list