aboutsummaryrefslogtreecommitdiffstats
path: root/src/time
diff options
context:
space:
mode:
Diffstat (limited to 'src/time')
-rw-r--r--src/time/benchmark.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/time/benchmark.c b/src/time/benchmark.c
index 543275a..4738676 100644
--- a/src/time/benchmark.c
+++ b/src/time/benchmark.c
@@ -22,14 +22,9 @@
#include <errno.h>
#include <sys/resource.h>
#include "rin/time.h"
+#include "rin/definitions.h"
#include "time_private.h"
-#if defined CLOCK_MONOTONIC
-# define RIN_CLOCK_WALL_COUNTER CLOCK_MONOTONIC
-#else
-# define RIN_CLOCK_WALL_COUNTER CLOCK_REALTIME
-#endif /* defined CLOCK_MONOTONIC */
-
static struct bench {
int status;
struct rusage runtime;