1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1780, build fail on ubuntu:focal. 3.0.144

This commit is contained in:
winlin 2020-10-10 16:20:05 +08:00
parent 905444a1c7
commit 13af54171f
3 changed files with 3 additions and 3 deletions

View file

@ -125,7 +125,7 @@ srs_utime_t srs_get_system_startup_time()
// For utest to mock it.
#ifndef SRS_AUTO_OSX
_srs_gettimeofday_t _srs_gettimeofday = ::gettimeofday;
_srs_gettimeofday_t _srs_gettimeofday = (_srs_gettimeofday_t)::gettimeofday;
#endif
srs_utime_t srs_update_system_time()