浏览代码

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 年之前
父节点
当前提交
f2351172d5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/misc/sysvipc/ipc.h

+ 1 - 1
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