[svn-commits] russell: branch 1.4 r78143 - /branches/1.4/include/asterisk/lock.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Aug 4 23:15:32 CDT 2007


Author: russell
Date: Sat Aug  4 23:15:31 2007
New Revision: 78143

URL: http://svn.digium.com/view/asterisk?view=rev&rev=78143
Log:
Fix compilation failure when MALLOC_DEBUG is enabled, but DEBUG_THREADS is not

Modified:
    branches/1.4/include/asterisk/lock.h

Modified: branches/1.4/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/lock.h?view=diff&rev=78143&r1=78142&r2=78143
==============================================================================
--- branches/1.4/include/asterisk/lock.h (original)
+++ branches/1.4/include/asterisk/lock.h Sat Aug  4 23:15:31 2007
@@ -561,6 +561,8 @@
 typedef pthread_mutex_t ast_mutex_t;
 
 #define AST_MUTEX_INIT_VALUE	((ast_mutex_t) PTHREAD_MUTEX_INIT_VALUE)
+#define AST_MUTEX_INIT_VALUE_NOTRACKING \
+	((ast_mutex_t) PTHREAD_MUTEX_INIT_VALUE)
 
 static inline int ast_mutex_init(ast_mutex_t *pmutex)
 {




More information about the svn-commits mailing list