瀏覽代碼

remove unused Linux 2.0 compat code, otherwise c6x without NPTL is broken

Waldemar Brodkorb 11 年之前
父節點
當前提交
0188150363
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      libc/stdlib/system.c

+ 0 - 4
libc/stdlib/system.c

@@ -20,11 +20,7 @@
 
 extern __typeof(system) __libc_system;
 #if !defined __UCLIBC_HAS_THREADS_NATIVE__
-/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
 #include <sys/syscall.h>
-#ifndef __NR_vfork
-# define vfork fork
-#endif
 
 int __libc_system(const char *command)
 {