summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-11-06 17:49:24 +0000
committerEric Andersen <andersen@codepoet.org>2006-11-06 17:49:24 +0000
commitf2351172d5b2b12bf988d9920dba75eb4c6f42d6 (patch)
tree523be775ea62eebdf50f28fdcec96678f31a7341 /libc/misc
parente70d824a1c9f9a357a093b4d2d8b185c2a64a5de (diff)
mips64 patch from Atsushi Nemoto:
We should not use old stype ipc_perm for 64-bit mips kernel. I suppose other 64-bit platforms shoule define __IPC_64 also and we can define it unconditionally, but not sure for other archs ...
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/sysvipc/ipc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/sysvipc/ipc.h b/libc/misc/sysvipc/ipc.h
index 62c035b20..5bdbe6471 100644
--- a/libc/misc/sysvipc/ipc.h
+++ b/libc/misc/sysvipc/ipc.h
@@ -3,7 +3,7 @@
#include <syscall.h>
#include <bits/wordsize.h>
-#if __WORDSIZE == 32 || defined __alpha__
+#if __WORDSIZE == 32 || defined __alpha__ || defined __mips__
# define __IPC_64 0x100
#else
# define __IPC_64 0x0