typo
[exim.git] / src / OS / os.h-SunOS5
1 /* Exim: OS-specific C header file for SunOS5 aka Solaris */
2
3 #define CRYPT_H
4 #define HAVE_MMAP
5 #define HAVE_SYS_STATVFS_H
6 #define F_FAVAIL                f_favail
7 #define SIOCGIFCONF_GIVES_ADDR
8
9 #define HAVE_GETIPNODEBYNAME    1
10 #define HAVE_GETIPNODEBYADDR    1
11 #define EXIM_HAVE_OPENAT
12
13 #define HAVE_KSTAT
14 #define LOAD_AVG_KSTAT         "system_misc"
15 #define LOAD_AVG_KSTAT_MODULE  "unix"
16 #define LOAD_AVG_SYMBOL        "avenrun_1min"
17 #define LOAD_AVG_FIELD          value.ui32
18
19 #define os_strsignal            strsignal
20 #define OS_STRSIGNAL
21
22 /* This is needed for some early Solaris releases, but causes trouble
23 in the current ones, so it is out by default. */
24
25 /* #define EXIM_SOCKLEN_T       size_t */
26
27 /* This is different from Linux and all other PAM implementations,
28 it seems. */
29
30 #define PAM_CONVERSE_ARG2_TYPE  struct pam_message
31
32
33 /* default is non-const */
34 #define ICONV_ARG2_TYPE const char **
35
36 #if _POSIX_C_SOURCE < 200112L
37 # define MISSING_UNSETENV_3
38 #endif
39
40
41 /* SunOS5 doesn't accept getcwd(NULL, 0) to auto-allocate
42 a buffer */
43
44 #define OS_GETCWD
45
46
47 #ifndef MIN
48 # define MIN(a,b) (((a)<(b))?(a):(b))
49 # define MAX(a,b) (((a)>(b))?(a):(b))
50 #endif
51
52 /* End */