Add OpenAFS build machinery for libhcrypto
[openafs.git] / src / config / param.sparc64_linux26.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef AFS_PARAM_H
11 #define AFS_PARAM_H
12
13 #ifndef UKERNEL
14 /* This section for kernel libafs compiles only */
15 #define AFS_SPARC64_LINUX20_ENV 1
16 #define AFS_SPARC64_LINUX22_ENV 1
17 #define AFS_SPARC64_LINUX24_ENV 1
18 #define AFS_SPARC64_LINUX26_ENV 1
19 #define AFS_LINUX_64BIT_KERNEL  1
20 #define AFS_64BITPOINTER_ENV    1       /* pointers are 64 bits. */
21 #define AFS_32BIT_USR_ENV       1       /* user level processes are 32bit */
22
23 /*
24  * on sparclinux is O_LARGEFILE defined but there is not off64_t,
25  * so small hack to get usd_file.c work
26  */
27 #ifndef KERNEL
28 #define __USE_FILE_OFFSET64     1
29 #define __USE_LARGEFILE64       1
30 #if !defined off64_t
31 #define off64_t __off64_t
32 #endif
33 #endif
34
35 #else /* !defined(UKERNEL) */
36
37 /* This section for user space compiles only */
38 #define UKERNEL                 1       /* user space kernel */
39
40 #endif /* !defined(UKERNEL) */
41
42 /* Machine / Operating system information */
43 #define SYS_NAME                "sparc64_linux26"
44 #define SYS_NAME_ID             SYS_NAME_ID_sparc64_linux26
45 #define AFS_SYSCALL             227
46 #define AFSBIG_ENDIAN           1
47
48 #endif /* AFS_PARAM_H */