mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 13:13:17 -05:00
Extend support for kernels without high-res timers to 64-bit platforms.
This commit is contained in:
parent
949cf3808d
commit
0ec6e2f072
@ -751,6 +751,10 @@ murmur_hash64(const void *key, int len, uint32_t seed)
|
||||
return h;
|
||||
}
|
||||
|
||||
#else
|
||||
# error Platform not supported
|
||||
#endif
|
||||
|
||||
int
|
||||
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
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
# error Platform not supported
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user