Looks like HP-UX needs these settings to avoid compiler warnings:
[exim.git] / src / OS / os.h-HP-UX
1 /* $Cambridge: exim/src/OS/os.h-HP-UX,v 1.2 2005/05/03 14:22:12 ph10 Exp $ */
2
3 /* Exim: OS-specific C header file for HP-UX versions greater than 9 */
4
5 #define ICONV_ARG2_TYPE char **
6 #define EXIM_SOCKLEN_T size_t
7
8 #define LOAD_AVG_NEEDS_ROOT
9 #define HAVE_DEV_KMEM
10 #define LOAD_AVG_TYPE   double
11 #define LOAD_AVG_SYMBOL "avenrun"
12 #define KERNEL_PATH     "/hp-ux"
13 #define FSCALE          1.0
14
15 #define HAVE_SYS_STATVFS_H
16
17 #define F_FREESP           O_TRUNC
18 #define NEED_H_ERRNO       1
19
20 typedef struct flock flock_t;
21
22 /* End */