Skip to content
Snippets Groups Projects
Commit 8b7123ee authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

fdatasync() is not defined on some FreeBSD and Darwin systems.

parent 5ad5738f
No related merge requests found
......@@ -57,6 +57,10 @@
* Defined if fdatasync(2) call is present.
*/
#cmakedefine HAVE_FDATASYNC 1
#ifndef HAVE_FDATASYNC
#define fdatasync fsync
#endif
/*
* Defined if this platform has GNU specific memmem().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment