mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 21:49:48 -05:00
Extend support for kernels without high-res timers to 64-bit platforms.
This commit is contained in:
@@ -751,6 +751,10 @@ murmur_hash64(const void *key, int len, uint32_t seed)
|
|||||||
return h;
|
return h;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
# error Platform not supported
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
clock_gettime_with_res(clockid_t clock_id, struct timespec *tp, struct timespec *res)
|
clock_gettime_with_res(clockid_t clock_id, struct timespec *tp, struct timespec *res)
|
||||||
{
|
{
|
||||||
@@ -801,7 +805,3 @@ timespec_cmp(struct timespec time1, struct timespec time2)
|
|||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
|
||||||
# error Platform not supported
|
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user