Start
[exim.git] / src / OS / os.h-Darwin
CommitLineData
61ec970d
PH
1/* $Cambridge: exim/src/OS/os.h-Darwin,v 1.1 2004/10/06 15:07:39 ph10 Exp $ */
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
12#define F_FREESP O_TRUNC
13typedef struct flock flock_t;
14
15#define BASE_62 36 /* HFS+ aliases lower and upper cases in filenames.
16 Consider reducing MAX_LOCALHOST_NUMBER */
17
18#ifndef _BSD_SOCKLEN_T_
19#define _BSD_SOCKLEN_T_ int32_t /* socklen_t (duh) */
20#endif
21
22/* Settings for handling IP options. There's no netinet/ip_var.h. The IP
23option handling is in the style of the later GLIBCs but the GLIBC macros
24aren't set, so we invent a new one. */
25
26#define NO_IP_VAR_H
27#define DARWIN_IP_OPTIONS
28
29/* End */