OSDN Git Service

libc/ipc: Allow architectures to define their own __IPC_64 macro
[uclinux-h8/uClibc.git] / libc / misc / sysvipc / ipc.h
index 339d136..5b861ae 100644 (file)
@@ -3,10 +3,12 @@
 #include <syscall.h>
 #include <bits/wordsize.h>
 
-#if __WORDSIZE == 32 || defined __alpha__ || defined __mips__
-# define __IPC_64      0x100
-#else
-# define __IPC_64      0x0
+#ifndef __IPC_64
+# if __WORDSIZE == 32 || defined __alpha__ || defined __mips__
+#  define __IPC_64     0x100
+# else
+#  define __IPC_64     0x0
+# endif
 #endif
 
 #ifdef __NR_ipc