Pārlūkot izejas kodu

remove __IPC_64 in syscall() macro since real 64bit arches dont need it (and it doesnt compile)

Mike Frysinger 19 gadi atpakaļ
vecāks
revīzija
2fec0b7cc2
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      libc/misc/sysvipc/msgq.c
  2. 1 1
      libc/misc/sysvipc/shm.c

+ 1 - 1
libc/misc/sysvipc/msgq.c

@@ -6,7 +6,7 @@
 #ifdef L_msgctl
 
 #ifdef __NR_msgctl
-_syscall3(int, msgctl, int, msqid, int, cmd | __IPC_64, struct msqid_ds *, buf);
+_syscall3(int, msgctl, int, msqid, int, cmd, struct msqid_ds *, buf);
 #else
 /* Message queue control operation.  */
 int msgctl (int msqid, int cmd, struct msqid_ds *buf)

+ 1 - 1
libc/misc/sysvipc/shm.c

@@ -48,7 +48,7 @@ void * shmat (int shmid, const void *shmaddr, int shmflg)
 #ifdef L_shmctl
 /* Provide operations to control over shared memory segments.  */
 #ifdef __NR_shmctl
-_syscall3(int, shmctl, int, shmid, int, cmd | __IPC_64, struct shmid_ds *, buf);
+_syscall3(int, shmctl, int, shmid, int, cmd, struct shmid_ds *, buf);
 #else
 int shmctl (int shmid, int cmd, struct shmid_ds *buf)
 {