Skip to content

Commit 2de6d26

Browse files
author
Noam Preil
committed
plan9: restore CLOCK_PROCESS_CPUTIME_ID support
1 parent 4a9c9eb commit 2de6d26

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/core/util.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,10 +963,8 @@ int janet_gettime(struct timespec *spec, enum JanetTimeSource source) {
963963
cid = CLOCK_REALTIME;
964964
} else if (source == JANET_TIME_MONOTONIC) {
965965
cid = CLOCK_MONOTONIC;
966-
#ifndef JANET_PLAN9
967966
} else if (source == JANET_TIME_CPUTIME) {
968967
cid = CLOCK_PROCESS_CPUTIME_ID;
969-
#endif
970968
}
971969
return clock_gettime(cid, spec);
972970
}

0 commit comments

Comments
 (0)