acos.s fix: use the formula acos(x) = atan2(sqrt(1-x),sqrt(1+x))
[musl] / src / ipc / semop.c
index 1545340..8046e43 100644 (file)
@@ -4,7 +4,7 @@
 
 int semop(int id, struct sembuf *buf, size_t n)
 {
-#ifdef __NR_semop
+#ifdef SYS_semop
        return syscall(SYS_semop, id, buf, n);
 #else
        return syscall(SYS_ipc, IPCOP_semop, id, n, 0, buf);