X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/6e2b4ccc44cc0e84337b9b74479c347985edab1c..9d26b8c05f5308b474b560fa2a8a1046e2f5c1b6:/src/OS/os.h-Linux diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux index 285e8d28f..5186ec89d 100644 --- a/src/OS/os.h-Linux +++ b/src/OS/os.h-Linux @@ -1,7 +1,12 @@ -/* $Cambridge: exim/src/OS/os.h-Linux,v 1.3 2005/02/17 10:04:41 ph10 Exp $ */ - /* Exim: OS-specific C header file for Linux */ +/* Some weird variants may require invocation with C99 and features.h +inclusion to build, with the 64-bit arithmetic. Make compiler selection +their problem, but build anyway. */ + +#include + + #define CRYPT_H #define GLIBC_IP_OPTIONS #define HAVE_MMAP @@ -10,6 +15,13 @@ #define NO_IP_VAR_H #define SIG_IGN_WORKS +/* When using the DKIM, setting HAVE_LINUX_SENDFILE can increase +performance on outgoing mail a bit. Note: With older glibc versions +this setting will conflict with the _FILE_OFFSET_BITS=64 setting +defined as part of the Linux CFLAGS. */ + +/* #define HAVE_LINUX_SENDFILE */ + #define F_FREESP O_TRUNC typedef struct flock flock_t;