summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/mono_time.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/toxcore/mono_time.c b/toxcore/mono_time.c
index 7fdf2d7e..aa272749 100644
--- a/toxcore/mono_time.c
+++ b/toxcore/mono_time.c
@@ -120,9 +120,7 @@ static uint64_t current_time_monotonic_default(void *user_data)
120 last_clock_mono = time; 120 last_clock_mono = time;
121#else 121#else
122 struct timespec clock_mono; 122 struct timespec clock_mono;
123#if defined(__linux__) && defined(CLOCK_MONOTONIC_RAW) 123#if defined(__APPLE__)
124 clock_gettime(CLOCK_MONOTONIC_RAW, &clock_mono);
125#elif defined(__APPLE__)
126 clock_serv_t muhclock; 124 clock_serv_t muhclock;
127 mach_timespec_t machtime; 125 mach_timespec_t machtime;
128 126