Преглед на файлове

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