Address ifdef problem with macOS/BSD sandboxing

This commit is contained in:
gustavderdrache committed 2025-07-11 18:09:07 -04:00
1 parent b196922bcc
commit e2ef2cfcbc
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ bool useBuildUsers()
#ifdef __linux__
static bool b = (settings.buildUsersGroup != "" || settings.autoAllocateUids) && isRootUser();
return b;
#elif defined(__APPLE__) && defined(__FreeBSD__)
#elif defined(__APPLE__) || defined(__FreeBSD__)
static bool b = settings.buildUsersGroup != "" && isRootUser();
return b;
#else