We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9c9eb commit 2de6d26Copy full SHA for 2de6d26
src/core/util.c
@@ -963,10 +963,8 @@ int janet_gettime(struct timespec *spec, enum JanetTimeSource source) {
963
cid = CLOCK_REALTIME;
964
} else if (source == JANET_TIME_MONOTONIC) {
965
cid = CLOCK_MONOTONIC;
966
-#ifndef JANET_PLAN9
967
} else if (source == JANET_TIME_CPUTIME) {
968
cid = CLOCK_PROCESS_CPUTIME_ID;
969
-#endif
970
}
971
return clock_gettime(cid, spec);
972
0 commit comments