0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd: Use address of ::gettimeofday to resolve error in g++-7.

This commit is contained in:
Jason Volk 2018-01-17 21:37:11 -08:00
parent 2c8154dfe4
commit e5a50a0b79

View file

@ -202,6 +202,6 @@ inline ircd::microtime_t
ircd::microtime()
{
struct timeval tv;
syscall(::gettimeofday, &tv, nullptr);
syscall(&::gettimeofday, &tv, nullptr);
return { tv.tv_sec, tv.tv_usec };
}