浏览代码

dont try to build getpgrp if the arch doesnt support it (like ia64)

Mike Frysinger 18 年之前
父节点
当前提交
f6875e0f6b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      libc/sysdeps/linux/common/getpgrp.c

+ 3 - 0
libc/sysdeps/linux/common/getpgrp.c

@@ -9,4 +9,7 @@
 
 #include "syscalls.h"
 #include <unistd.h>
+
+#ifdef __NR_getpgrp
 _syscall0(pid_t, getpgrp);
+#endif