Copyright updates:
[exim.git] / src / OS / os.h-GNU
1 /* Exim: OS-specific C header file for GNU/Hurd */
2 /* Copyright (c) The Exim Maintainers 2020 - 2021 */
3
4 #include <features.h>
5
6 #define CRYPT_H
7 #define GLIBC_IP_OPTIONS
8 #define HAVE_BSD_GETLOADAVG
9 #define HAVE_MMAP
10 #define HAVE_SYS_VFS_H
11 #define NO_IP_VAR_H
12 #define SIG_IGN_WORKS
13 #define SIOCGIFCONF_GIVES_ADDR
14
15 #define F_FREESP     O_TRUNC
16 typedef struct flock flock_t;
17
18 #define os_strsignal strsignal
19 #define OS_STRSIGNAL
20
21 /* Hurd-specific bits below */
22
23 /* default is non-const */
24 #define ICONV_ARG2_TYPE const char **
25
26 /* setgroups(0, NULL) succeeds, and drops the gid group
27 as well as any supplementary groups*/
28 #define OS_SETGROUPS_ZERO_DROPS_ALL
29
30 #if _POSIX_C_SOURCE >= 200809L || _ATFILE_SOURCE
31 # define EXIM_HAVE_OPENAT
32 #endif
33
34 /* End */