LibCore: Make Group::add_group() unavailable on Haiku
This commit is contained in:
parent
cf6781cdee
commit
ee5b851f70
Notes:
sideshowbarker
2024-07-19 16:51:39 +09:00
Author: https://github.com/ghost Commit: https://github.com/SerenityOS/serenity/commit/ee5b851f702 Pull-request: https://github.com/SerenityOS/serenity/pull/20808 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/Hendiadyoin1 Reviewed-by: https://github.com/diversys
2 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue