eio: Mac OSX 10.5 (Leopard) does not have fdatasync
This commit is contained in:
parent
e954b4cd99
commit
835782a980
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user