1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

LibCore: Make Group::add_group() unavailable on Haiku

This commit is contained in:
nipos 2023-08-27 21:08:49 +02:00 committed by Andrew Kaster
parent cf6781cdee
commit ee5b851f70
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ ErrorOr<void> Group::sync()
return {};
}
#if !defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_ANDROID)
#if !defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_ANDROID) && !defined(AK_OS_HAIKU)
ErrorOr<void> Group::add_group(Group& group)
{
if (group.name().is_empty())

View file

@ -15,7 +15,7 @@ namespace Core {
class Group {
public:
#if !defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_ANDROID)
#if !defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_ANDROID) && !defined(AK_OS_HAIKU)
static ErrorOr<void> add_group(Group& group);
#endif