Use compressed form of ipv6 in $sender_host_address under -bh. Bug 3027
[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 /* SPDX-License-Identifier: GPL-2.0-or-later */
4
5 #include <features.h>
6
7 #define CRYPT_H
8 #define GLIBC_IP_OPTIONS
9 #define HAVE_BSD_GETLOADAVG
10 #define HAVE_MMAP
11 #define HAVE_SYS_VFS_H
12 #define NO_IP_VAR_H
13 #define SIG_IGN_WORKS
14 #define SIOCGIFCONF_GIVES_ADDR
15
16 #define F_FREESP     O_TRUNC
17 typedef struct flock flock_t;
18
19 #define os_strsignal strsignal
20 #define OS_STRSIGNAL
21
22 /* Hurd-specific bits below */
23
24 /* default is non-const */
25 #define ICONV_ARG2_TYPE const char **
26
27 /* setgroups(0, NULL) succeeds, and drops the gid group
28 as well as any supplementary groups*/
29 #define OS_SETGROUPS_ZERO_DROPS_ALL
30
31 #if _POSIX_C_SOURCE >= 200809L || _ATFILE_SOURCE
32 # define EXIM_HAVE_OPENAT
33 #endif
34
35 /* End */