Browse Source

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 ...

Eric Andersen 18 years ago
parent
commit
f2351172d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/misc/sysvipc/ipc.h

+ 1 - 1
libc/misc/sysvipc/ipc.h

@@ -3,7 +3,7 @@
 #include <syscall.h>
 #include <syscall.h>
 #include <bits/wordsize.h>
 #include <bits/wordsize.h>
 
 
-#if __WORDSIZE == 32 || defined __alpha__
+#if __WORDSIZE == 32 || defined __alpha__ || defined __mips__
 # define __IPC_64	0x100
 # define __IPC_64	0x100
 #else
 #else
 # define __IPC_64	0x0
 # define __IPC_64	0x0