Commit 94141938 authored by Scott Vokes's avatar Scott Vokes
Browse files

Disable clock_gettime(CLOCK_MONOTONIC, &timespec): linking issue.

The API is in place to switch to it later, but Linux-specific linking
flags may need to be set up to support it.
parent 492781a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ bool util_timestamp(struct timeval *tv, bool relative) {
        return false;
    }

#ifdef __linux__
#if 0
    if (relative) {
        struct timespec ts;
        if (0 != clock_gettime(CLOCK_MONOTONIC, &ts)) {