1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-01 04:18:00 +02:00

Add -Wundef to make #if FOO an error if not defined

This commit has all the straightforward stuff.
This commit is contained in:
Robert Hensing 2025-04-05 00:45:19 +02:00
parent d81cd04d23
commit 5c90b41715
23 changed files with 40 additions and 33 deletions

View file

@ -574,7 +574,7 @@ Path createTempDir(const Path & tmpRoot, const Path & prefix,
, mode
#endif
) == 0) {
#if __FreeBSD__
#ifdef __FreeBSD__
/* Explicitly set the group of the directory. This is to
work around around problems caused by BSD's group
ownership semantics (directories inherit the group of