summaryrefslogtreecommitdiff
path: root/hurd/porting
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-04-03 23:42:17 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-04-03 23:42:17 +0200
commite1a127efc582faabce933d0943eceae797634168 (patch)
treea71be2635fa5a7d9826b0206417e74f241744094 /hurd/porting
parentf8a290248e8647b9010fc503e3f945248aefd5e4 (diff)
also mention clock
Diffstat (limited to 'hurd/porting')
-rw-r--r--hurd/porting/guidelines.mdwn2
1 files changed, 1 insertions, 1 deletions
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.
## <a name="GNU_specific_define_tt_"> </a> GNU specific `#define`