Fix build for non-Linux platforms having openat.
[users/heiko/exim.git] / src / OS / os.h-Darwin
index 67aeac913727263c3edff597d4f2c61d1cd95a28..1a557d829ef5dcbfa3c18363a5a3be1b51c2c0f6 100644 (file)
@@ -6,6 +6,7 @@
 #define HAVE_SYS_MOUNT_H
 #define PAM_H_IN_PAM
 #define SIOCGIFCONF_GIVES_ADDR
+#define EXIM_HAVE_OPENAT
 
 
 #define F_FREESP     O_TRUNC
@@ -51,10 +52,8 @@ in "man 2 getgroups". */
 #define _DARWIN_UNLIMITED_GETGROUPS
 #define EXIM_GROUPLIST_SIZE 64
 
-/* TCP_FASTOPEN support.  For the moment, claim there is none
-(the probe fails; unsure why).
-Sometime in the future need to investigate connectex(). */
-
-#define EXIM_TFO_PROBE
+/* TCP Fast Open: Darwin uses a connectx() call
+rather than a modified sendto() */
+#define EXIM_TFO_CONNECTX
 
 /* End */