From 3122e81e958d1d6d2becf5526d66665ccab6f34e Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Wed, 4 Feb 2004 23:38:39 +0000 Subject: [PATCH] use ENSC_SYSCALL_TRADITIONAL git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@799 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/lib/syscall-legacy.hc | 2 +- util-vserver/lib/vserver-internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util-vserver/lib/syscall-legacy.hc b/util-vserver/lib/syscall-legacy.hc index 1f3322b..d57f1ec 100644 --- a/util-vserver/lib/syscall-legacy.hc +++ b/util-vserver/lib/syscall-legacy.hc @@ -50,7 +50,7 @@ static int __NR_set_ipv4root_rev2; static int __NR_set_ipv4root_rev3; static int rev_ipv4root=0; -#if (defined(__pic__) && defined(__i386)) || defined(__hppa__) +#ifdef ENSC_SYSCALL_TRADITIONAL #if defined __dietlibc__ extern long int syscall (long int __sysno, ...); #endif diff --git a/util-vserver/lib/vserver-internal.h b/util-vserver/lib/vserver-internal.h index 9bf730e..f255d43 100644 --- a/util-vserver/lib/vserver-internal.h +++ b/util-vserver/lib/vserver-internal.h @@ -157,7 +157,7 @@ #define EXT2_IOC_SETCONTEXT _IOW('x', 2, long) #ifndef HAVE_VSERVER -#if defined(__pic__) && defined(__i386) +#ifdef ENSC_SYSCALL_TRADITIONAL inline static UNUSED ALWAYSINLINE int vserver(uint32_t cmd, uint32_t id, void *data) { -- 1.8.1.5