added check for existing sys_virtual_context() function
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 14 Oct 2003 13:54:08 +0000 (13:54 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 14 Oct 2003 13:54:08 +0000 (13:54 +0000)
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

index cac969e..a2555ea 100644 (file)
@@ -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