From b8daf9b9b7b2434aeb95554058d4647f900c3461 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 6 Aug 2025 14:53:59 -0500 Subject: [PATCH] refactor --- support/src/utils/unix.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/support/src/utils/unix.cpp b/support/src/utils/unix.cpp index a1c6b679..b6f59f14 100644 --- a/support/src/utils/unix.cpp +++ b/support/src/utils/unix.cpp @@ -74,9 +74,7 @@ namespace { function_name, std::string{"failed to get group list count|error|"} + std::to_string(errno)); } -#endif // defined(__APPLE__) -#if !defined(__APPLE__) groups.resize(static_cast(group_count)); res = getgrouplist(pass->pw_name, pass->pw_gid, groups.data(), &group_count); if (res >= 0) {