1 /* Exim: OS-specific C header file for SunOS5 aka Solaris */
5 #define HAVE_SYS_STATVFS_H
6 #define F_FAVAIL f_favail
7 #define SIOCGIFCONF_GIVES_ADDR
9 #define HAVE_GETIPNODEBYNAME 1
10 #define HAVE_GETIPNODEBYADDR 1
11 #define EXIM_HAVE_OPENAT
12 #define EXIM_HAVE_FUTIMENS
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
20 #define os_strsignal strsignal
23 /* This is needed for some early Solaris releases, but causes trouble
24 in the current ones, so it is out by default. */
26 /* #define EXIM_SOCKLEN_T size_t */
28 /* This is different from Linux and all other PAM implementations,
31 #define PAM_CONVERSE_ARG2_TYPE struct pam_message
34 /* default is non-const */
35 #define ICONV_ARG2_TYPE const char **
37 #if _POSIX_C_SOURCE < 200112L
38 # define MISSING_UNSETENV_3
42 /* SunOS5 doesn't accept getcwd(NULL, 0) to auto-allocate
49 # define MIN(a,b) (((a)<(b))?(a):(b))
50 # define MAX(a,b) (((a)>(b))?(a):(b))