diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-08 06:16:43 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-08 06:16:43 +0000 |
commit | 701fa860a91f733f7ca9bb7a7abc8946d63b4042 (patch) | |
tree | af3d87752f883644cb1f5ea382d1988a71605f31 /utils | |
parent | 9b1a36a294342fc418d9a359a4cf06bd90c4acb9 (diff) |
Fix trunk build on Mac OS X.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268896 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r-- | utils/extconf.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/extconf.c b/utils/extconf.c index ff17b9663..992126728 100644 --- a/utils/extconf.c +++ b/utils/extconf.c @@ -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; +} + |