소스 검색

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