From 8867cd5be7d368e6538154958c3f82a230fef2f6 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 14 Oct 2003 13:54:08 +0000 Subject: [PATCH] added check for existing sys_virtual_context() function git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@138 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/lib/vserver-internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util-vserver/lib/vserver-internal.h b/util-vserver/lib/vserver-internal.h index cac969e..a2555ea 100644 --- a/util-vserver/lib/vserver-internal.h +++ b/util-vserver/lib/vserver-internal.h @@ -46,8 +46,9 @@ vc_tell_unsafe_chroot() static ALWAYSINLINE UNUSED void vc_tell_unsafe_chroot() {} #endif +#ifndef HAVE_SYS_VIRTUAL_CONTEXT static _syscall3(int, sys_virtual_context, uint32_t, cmd, uint32_t, id, void *, data) - +#endif #endif // H_VSERVER_SYSCALL_INTERNAL_H -- 1.8.1.5