From 4ca97b6162f466e78edd55fcf5397e44482bf6a2 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 1 Jul 1996 17:04:23 +0000 Subject: [PATCH] Use `SYS_afs_syscall' if defined. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@604 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/kafs/afssysdefs.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/lib/kafs/afssysdefs.h b/lib/kafs/afssysdefs.h index 84dffc1a6..416ce134f 100644 --- a/lib/kafs/afssysdefs.h +++ b/lib/kafs/afssysdefs.h @@ -38,16 +38,10 @@ #define AFS_SYSCALL 31 #endif -#if defined(__linux) -#define AFS_SYSCALL 137 -/* Kent Engström 1995-08-22 - Linux has no SIGSYS signal. Furthermore, the normal - kernels have no support for AFS. I'm not sure about - what to do, but for now I use SIGILL instead of SIGSYS. -*/ -#define SIGSYS SIGILL -#endif /* __linux */ - #if defined(__NetBSD__) #define AFS_SYSCALL 210 #endif + +#ifdef SYS_afs_syscall +#define AFS_SYSCALL SYS_afs_syscall +#endif