AK: Defined _COARSE clocks as the normal ones on Haiku

This commit is contained in:
nipos 2023-09-06 20:22:08 +02:00 committed by Andrew Kaster
parent 2c9bf5b935
commit b99e0b95c0
Notes: sideshowbarker 2024-07-19 16:50:26 +09:00

View File

@ -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