Define BIND_8_COMPAT in the os.h file for Darwin.
[exim.git] / src / OS / os.h-Darwin
CommitLineData
f625cc5a 1/* $Cambridge: exim/src/OS/os.h-Darwin,v 1.3 2005/08/08 10:29:08 ph10 Exp $ */
61ec970d
PH
2
3/* Exim: OS-specific C header file for Darwin (Mac OS X) */
4
5/* #define CRYPT_H */ /* Apparently this isn't needed */
6
7#define HAVE_MMAP
8#define HAVE_SYS_MOUNT_H
9#define PAM_H_IN_PAM
10#define SIOCGIFCONF_GIVES_ADDR
11
f452e07e
TK
12/* OSX 10.2 does not have poll.h, 10.3 does emulate it badly. */
13#define NO_POLL_H
14
61ec970d
PH
15#define F_FREESP O_TRUNC
16typedef struct flock flock_t;
17
18#define BASE_62 36 /* HFS+ aliases lower and upper cases in filenames.
19 Consider reducing MAX_LOCALHOST_NUMBER */
20
21#ifndef _BSD_SOCKLEN_T_
22#define _BSD_SOCKLEN_T_ int32_t /* socklen_t (duh) */
23#endif
24
25/* Settings for handling IP options. There's no netinet/ip_var.h. The IP
26option handling is in the style of the later GLIBCs but the GLIBC macros
27aren't set, so we invent a new one. */
28
29#define NO_IP_VAR_H
30#define DARWIN_IP_OPTIONS
31
f625cc5a
PH
32/* Need this for the DNS lookup code. Remember to remove if we get round to
33updating Exim to use the newer interface. */
34
35#define BIND_8_COMPAT
36
61ec970d 37/* End */