From 5986a582d9d43d2a58ff5dd5f59377c280fac802 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 4 Oct 2010 23:22:53 -0700 Subject: [PATCH] #define HAVE_FDATASYNC 0 for darwin; 10.5 is missing it --- deps/libeio/darwin/config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deps/libeio/darwin/config.h b/deps/libeio/darwin/config.h index 99bd552ae0..84a3440df0 100644 --- a/deps/libeio/darwin/config.h +++ b/deps/libeio/darwin/config.h @@ -4,8 +4,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 -/* fdatasync(2) is available */ -#define HAVE_FDATASYNC 1 +/* fdatasync(2) is not available on 10.5 but is on 10.6 + * How should we deal with this? */ +/* #define HAVE_FDATASYNC 0 */ /* futimes(2) is available */ #define HAVE_FUTIMES 1