Преглед изворни кода

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