mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Fix trunk build on Mac OS X.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6255,3 +6255,13 @@ int localized_pbx_load_module(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* For platforms which don't have pthread_rwlock_timedrdlock() */
|
||||
struct timeval ast_tvnow(void);
|
||||
|
||||
struct timeval ast_tvnow(void)
|
||||
{
|
||||
struct timeval t;
|
||||
gettimeofday(&t, NULL);
|
||||
return t;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user