1 /* Exim: OS-specific C header file for Darwin (Mac OS X) */
3 /* #define CRYPT_H */ /* Apparently this isn't needed */
6 #define HAVE_SYS_MOUNT_H
8 #define SIOCGIFCONF_GIVES_ADDR
10 /* OSX 10.2 does not have poll.h, 10.3 does emulate it badly. */
13 #define F_FREESP O_TRUNC
14 typedef struct flock flock_t;
16 #define BASE_62 36 /* HFS+ aliases lower and upper cases in filenames.
17 Consider reducing MAX_LOCALHOST_NUMBER */
19 #ifndef _BSD_SOCKLEN_T_
20 #define _BSD_SOCKLEN_T_ int32_t /* socklen_t (duh) */
23 /* Settings for handling IP options. There's no netinet/ip_var.h. The IP
24 option handling is in the style of the later GLIBCs but the GLIBC macros
25 aren't set, so we invent a new one. */
28 #define DARWIN_IP_OPTIONS
30 /* Need this for the DNS lookup code. Remember to remove if we get round to
31 updating Exim to use the newer interface. */