getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomain
[musl] / src / ipc / semop.c
index 8046e43..5f0c7de 100644 (file)
@@ -4,7 +4,7 @@
 
 int semop(int id, struct sembuf *buf, size_t n)
 {
-#ifdef SYS_semop
+#ifndef SYS_ipc
        return syscall(SYS_semop, id, buf, n);
 #else
        return syscall(SYS_ipc, IPCOP_semop, id, n, 0, buf);