mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:07:44 +00:00
LibCore: Make Group::add_group() unavailable on Haiku
This commit is contained in:
parent
cf6781cdee
commit
ee5b851f70
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ ErrorOr<void> Group::sync()
|
||||||
return {};
|
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)
|
ErrorOr<void> Group::add_group(Group& group)
|
||||||
{
|
{
|
||||||
if (group.name().is_empty())
|
if (group.name().is_empty())
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace Core {
|
||||||
|
|
||||||
class Group {
|
class Group {
|
||||||
public:
|
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);
|
static ErrorOr<void> add_group(Group& group);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue