mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7076 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1bbeb4f706
commit
1e9155c37a
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -233,7 +233,7 @@ SWITCH_DECLARE(switch_status_t) switch_mutex_trylock(switch_mutex_t * lock)
|
||||
|
||||
SWITCH_DECLARE(switch_time_t) switch_time_now(void)
|
||||
{
|
||||
#ifdef HAVE_CLOCK_GETTIME
|
||||
#if defined(HAVE_CLOCK_GETTIME) && defined(SWITCH_USE_CLOCK_FUNCS)
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_REALTIME,&ts);
|
||||
return ts.tv_sec * APR_USEC_PER_SEC + (ts.tv_nsec/1000);
|
||||
|
||||
Reference in new issue
Block a user