use syscall 208 on openbsd (all version)

use syscall 339 on freebsd 5.0 and later, use 210 on 4.x and earlier


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11637 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-02-06 20:16:32 +00:00
parent 0442d2b7a1
commit 276fca0e7c

View File

@@ -82,7 +82,18 @@
#define AFS_SYSCALL 31
#endif
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#if defined(__FreeBSD__)
#ifdef __FreeBSD_version >= 500000
#define AFS_SYSCALL 339
#else
#define AFS_SYSCALL 210
#endif
#ifdef __OpenBSD__
#define AFS_SYSCALL 208
#endif
#if defined(__NetBSD__)
#define AFS_SYSCALL 210
#endif