mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 20:22:18 +03:00
AK: Defined _COARSE clocks as the normal ones on Haiku
This commit is contained in:
parent
2c9bf5b935
commit
b99e0b95c0
Notes:
sideshowbarker
2024-07-19 16:50:26 +09:00
Author: https://github.com/ghost Commit: https://github.com/SerenityOS/serenity/commit/b99e0b95c07 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
@ -233,7 +233,7 @@
|
||||
# define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
|
||||
#endif
|
||||
|
||||
#if defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_FREEBSD)
|
||||
#if defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_FREEBSD) || defined(AK_OS_HAIKU)
|
||||
# define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
|
||||
# define CLOCK_REALTIME_COARSE CLOCK_REALTIME
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user