Make sure __ASSUME_VFORK_SYSCALL is not defined if the kernel headers have no
authordrepper <drepper>
Fri, 7 Feb 2003 19:59:46 +0000 (19:59 +0000)
committerdrepper <drepper>
Fri, 7 Feb 2003 19:59:46 +0000 (19:59 +0000)
__NR_vfork definition.

linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S

index f4a56a5..95df133 100644 (file)
@@ -86,6 +86,8 @@ ENTRY (__vfork)
        jae     SYSCALL_ERROR_LABEL
 .Lpseudo_end:
        ret
+#elif !defined __NR_vfork
+# error "__NR_vfork not available and __ASSUME_VFORK_SYSCALL defined"
 #endif
 PSEUDO_END (__vfork)
 libc_hidden_def (__vfork)