From e1a127efc582faabce933d0943eceae797634168 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 3 Apr 2019 23:42:17 +0200 Subject: also mention clock --- hurd/porting/guidelines.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn index 50d73601..fd533fd7 100644 --- a/hurd/porting/guidelines.mdwn +++ b/hurd/porting/guidelines.mdwn @@ -198,7 +198,7 @@ kernel. This should be replaced by `#if defined(__MACH__) && defined(__APPLE__)` Some applications unconditionally use Darwin-specific functions coming from `mach/clock.h` to get the clock. This is unnecessarily unportable, -`clock_gettime` can simply be used instead, and the `#ifdef __MACH__` guard for the `mach/clock.h` +`clock` or `clock_gettime` can simply be used instead, and the `#ifdef __MACH__` guard for the `mach/clock.h` inclusion be fixed as explained above. ## GNU specific `#define` -- cgit v1.2.3