Merge branch 'Ansa89-CLOCK_MONOTONIC_RAW-fix2'

This commit is contained in:
irungentoo 2014-05-28 08:39:20 -04:00
commit e9d8eddf26
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -234,7 +234,7 @@ uint64_t current_time_monotonic(void)
last_monotime = time;
#else
struct timespec monotime;
#if defined(__linux__)
#if defined(__linux__) && defined(CLOCK_MONOTONIC_RAW)
clock_gettime(CLOCK_MONOTONIC_RAW, &monotime);
#elif defined(__APPLE__)
clock_serv_t muhclock;