[asterisk-commits] tilghman: trunk r268896 - /trunk/utils/extconf.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 8 01:16:47 CDT 2010
Author: tilghman
Date: Tue Jun 8 01:16:43 2010
New Revision: 268896
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=268896
Log:
Fix trunk build on Mac OS X.
Modified:
trunk/utils/extconf.c
Modified: trunk/utils/extconf.c
URL: http://svnview.digium.com/svn/asterisk/trunk/utils/extconf.c?view=diff&rev=268896&r1=268895&r2=268896
==============================================================================
--- trunk/utils/extconf.c (original)
+++ trunk/utils/extconf.c Tue Jun 8 01:16:43 2010
@@ -6255,3 +6255,13 @@
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;
+}
+
More information about the asterisk-commits
mailing list