mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
Add -Wundef to make #if FOO an error if not defined
This commit has all the straightforward stuff.
This commit is contained in:
parent
d81cd04d23
commit
5c90b41715
23 changed files with 40 additions and 33 deletions
|
|
@ -98,7 +98,7 @@ void AutoCloseFD::fsync() const
|
|||
result =
|
||||
#ifdef _WIN32
|
||||
::FlushFileBuffers(fd)
|
||||
#elif __APPLE__
|
||||
#elif defined(__APPLE__)
|
||||
::fcntl(fd, F_FULLFSYNC)
|
||||
#else
|
||||
::fsync(fd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue