1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 10:31:15 +02:00

* If fdatasync() isn't available, use fsync().

This commit is contained in:
Eelco Dolstra 2010-02-02 11:57:49 +00:00
parent 07ffdc2862
commit 2723d9b56e
2 changed files with 5 additions and 0 deletions

View file

@ -12,6 +12,10 @@
#include <cstdio>
#ifndef HAVE_FDATASYNC
#define fdatasync fsync
#endif
namespace nix {