Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
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 835782a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/eio/config_darwin.h
Expand Up @@ -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
Expand Down

0 comments on commit 835782a

Please sign in to comment.