summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/sysvipc')
-rw-r--r--libc/misc/sysvipc/ipc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/misc/sysvipc/ipc.h b/libc/misc/sysvipc/ipc.h
index 339d1364b..5b861aeef 100644
--- a/libc/misc/sysvipc/ipc.h
+++ b/libc/misc/sysvipc/ipc.h
@@ -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