diff options
Diffstat (limited to 'libc/bionic/sys_sem.cpp')
-rw-r--r-- | libc/bionic/sys_sem.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/bionic/sys_sem.cpp b/libc/bionic/sys_sem.cpp index 5e2a05c29..058cfefc8 100644 --- a/libc/bionic/sys_sem.cpp +++ b/libc/bionic/sys_sem.cpp @@ -33,9 +33,8 @@ #include <unistd.h> int semctl(int id, int num, int cmd, ...) { -#if !defined(__LP64__) || defined(__mips__) +#if !defined(__LP64__) // Annoyingly, the kernel requires this for 32-bit but rejects it for 64-bit. - // Mips64 is an exception to this, it requires the flag. cmd |= IPC_64; #endif va_list ap; |