Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

eio: Mac OSX 10.5 (Leopard) does not have fdatasync

  • Loading branch information...
cjheath authored and bnoordhuis committed Aug 26, 2011
1 parent e954b4c commit 835782a98023e1663a0c7aca9d4ea6d518d4ccb3
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/eio/config_darwin.h
@@ -8,7 +8,11 @@
/* #undef HAVE_FALLOCATE */

/* fdatasync(2) is available */
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1060
#define HAVE_FDATASYNC 1
#else
#define HAVE_FDATASYNC 0
#endif

/* futimes(2) is available */
#define HAVE_FUTIMES 1

0 comments on commit 835782a

Please sign in to comment.
You can’t perform that action at this time.