1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:57:35 +00:00

AK: Add CLOCK_*_COARSE aliases for darwin and BSD variants

The coarse clocks in time.h are a linux extension that we've adopted.
MacOS and the BSDs don't have it, so we need an alias in a platform
header for Lagom builds.
This commit is contained in:
Andrew Kaster 2020-12-27 15:38:32 -07:00 committed by Andreas Kling
parent 3bdaba0b28
commit 1219c65249
2 changed files with 16 additions and 0 deletions

View file

@ -26,6 +26,8 @@
#pragma once
#include <AK/Platform.h>
namespace AK {
// Month and day start at 1. Month must be >= 1 and <= 12.