Commit | Line | Data |
---|---|---|
36a3b041 | 1 | /* $Cambridge: exim/src/OS/os.h-SunOS5,v 1.2 2005/03/15 14:09:12 ph10 Exp $ */ |
61ec970d PH |
2 | |
3 | /* Exim: OS-specific C header file for SunOS5 aka Solaris */ | |
4 | ||
5 | #define CRYPT_H | |
6 | #define HAVE_MMAP | |
7 | #define HAVE_SYS_STATVFS_H | |
8 | #define F_FAVAIL f_favail | |
9 | #define SIOCGIFCONF_GIVES_ADDR | |
10 | ||
11 | #define HAVE_GETIPNODEBYNAME 1 | |
12 | #define HAVE_GETIPNODEBYADDR 1 | |
13 | ||
14 | #define HAVE_KSTAT | |
15 | #define LOAD_AVG_KSTAT "system_misc" | |
16 | #define LOAD_AVG_KSTAT_MODULE "unix" | |
17 | #define LOAD_AVG_SYMBOL "avenrun_1min" | |
18 | #define LOAD_AVG_FIELD value.ui32 | |
19 | ||
20 | #define os_strsignal strsignal | |
21 | #define OS_STRSIGNAL | |
22 | ||
23 | /* This is needed for some early Solaris releases, but causes trouble | |
24 | in the current ones, so it is out by default. */ | |
25 | ||
36a3b041 | 26 | /* #define EXIM_SOCKLEN_T size_t */ |
61ec970d PH |
27 | |
28 | /* This is different from Linux and all other PAM implementations, | |
29 | it seems. */ | |
30 | ||
31 | #define PAM_CONVERSE_ARG2_TYPE struct pam_message | |
32 | ||
33 | /* End */ |