summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Kistner <tom@duncanthrax.net>2006-12-20 19:54:23 +0000
committerTom Kistner <tom@duncanthrax.net>2006-12-20 19:54:23 +0000
commit2f43ad4af98a7f1a6fa70b15ffa0bd29ce777418 (patch)
tree84e4fd69d011c9f23b3b32072d9540f5ab5dbf00 /src
parent883335dc3231d56603fb097057f585d3f165bbba (diff)
BugZilla 438
Diffstat (limited to 'src')
-rw-r--r--src/OS/os.h-Linux10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux
index 5b731eaa1..8d87df0b8 100644
--- a/src/OS/os.h-Linux
+++ b/src/OS/os.h-Linux
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/OS/os.h-Linux,v 1.4 2006/10/30 22:06:33 tom Exp $ */
+/* $Cambridge: exim/src/OS/os.h-Linux,v 1.5 2006/12/20 19:54:23 tom Exp $ */
/* Exim: OS-specific C header file for Linux */
@@ -7,10 +7,16 @@
#define HAVE_MMAP
#define HAVE_BSD_GETLOADAVG
#define HAVE_SYS_STATVFS_H
-#define HAVE_LINUX_SENDFILE
#define NO_IP_VAR_H
#define SIG_IGN_WORKS
+/* When using the experimental Domainkeys/DKIM extensions, 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;