1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

Fix undefined macro errors

This commit is contained in:
Robert Hensing 2025-04-06 17:43:10 +02:00
parent cf5e59911b
commit 77b4bb74d5
3 changed files with 3 additions and 3 deletions

View file

@ -196,7 +196,7 @@ bool useBuildUsers()
#ifdef __linux__
static bool b = (settings.buildUsersGroup != "" || settings.autoAllocateUids) && isRootUser();
return b;
#elif __APPLE__
#elif defined(__APPLE__)
static bool b = settings.buildUsersGroup != "" && isRootUser();
return b;
#else