1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:27:45 +00:00

LibCore: Don't implement adjtime on Haiku

This commit is contained in:
nipos 2023-08-27 21:37:02 +02:00 committed by Andrew Kaster
parent 1e25ab956c
commit 0fa00a1b1e
2 changed files with 2 additions and 2 deletions

View file

@ -1240,7 +1240,7 @@ ErrorOr<struct utsname> uname()
return uts; return uts;
} }
#ifndef AK_OS_ANDROID #if !defined(AK_OS_ANDROID) && !defined(AK_OS_HAIKU)
ErrorOr<void> adjtime(const struct timeval* delta, struct timeval* old_delta) ErrorOr<void> adjtime(const struct timeval* delta, struct timeval* old_delta)
{ {
# ifdef AK_OS_SERENITY # ifdef AK_OS_SERENITY

View file

@ -188,7 +188,7 @@ ErrorOr<void> utime(StringView path, Optional<struct utimbuf>);
ErrorOr<void> utimensat(int fd, StringView path, struct timespec const times[2], int flag); ErrorOr<void> utimensat(int fd, StringView path, struct timespec const times[2], int flag);
ErrorOr<struct utsname> uname(); ErrorOr<struct utsname> uname();
ErrorOr<Array<int, 2>> pipe2(int flags); ErrorOr<Array<int, 2>> pipe2(int flags);
#ifndef AK_OS_ANDROID #if !defined(AK_OS_ANDROID) && !defined(AK_OS_HAIKU)
ErrorOr<void> adjtime(const struct timeval* delta, struct timeval* old_delta); ErrorOr<void> adjtime(const struct timeval* delta, struct timeval* old_delta);
#endif #endif
enum class SearchInPath { enum class SearchInPath {