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:
parent
07ffdc2862
commit
2723d9b56e
2 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,10 @@
|
|||
|
||||
#include <cstdio>
|
||||
|
||||
#ifndef HAVE_FDATASYNC
|
||||
#define fdatasync fsync
|
||||
#endif
|
||||
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue