diff --git a/Userland/Libraries/LibCore/Group.cpp b/Userland/Libraries/LibCore/Group.cpp index 586dca33e1..585c32af09 100644 --- a/Userland/Libraries/LibCore/Group.cpp +++ b/Userland/Libraries/LibCore/Group.cpp @@ -10,7 +10,7 @@ namespace Core { -#ifndef AK_OS_MACOS +#ifndef AK_OS_BSD_GENERIC ErrorOr Group::add_group(Group& group) { if (group.name().is_empty()) diff --git a/Userland/Libraries/LibCore/Group.h b/Userland/Libraries/LibCore/Group.h index 8cd4602984..3eeb6c99c4 100644 --- a/Userland/Libraries/LibCore/Group.h +++ b/Userland/Libraries/LibCore/Group.h @@ -15,7 +15,7 @@ namespace Core { class Group { public: -#ifndef AK_OS_MACOS +#ifndef AK_OS_BSD_GENERIC static ErrorOr add_group(Group& group); #endif