From b99e0b95c07235c9f229c1bc877367a2898cb120 Mon Sep 17 00:00:00 2001 From: nipos Date: Wed, 6 Sep 2023 20:22:08 +0200 Subject: [PATCH] AK: Defined _COARSE clocks as the normal ones on Haiku --- AK/Platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/Platform.h b/AK/Platform.h index 4c93789d28..c2fe8deee3 100644 --- a/AK/Platform.h +++ b/AK/Platform.h @@ -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