From 1a4bd1ec631d2657eb86700c6aa7ce369fd1cea3 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 5 Aug 2007 04:16:43 +0000 Subject: Merged revisions 78143 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r78143 | russell | 2007-08-04 23:15:31 -0500 (Sat, 04 Aug 2007) | 2 lines Fix compilation failure when MALLOC_DEBUG is enabled, but DEBUG_THREADS is not ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78144 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/lock.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 7f5640561..bb1c16f19 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -561,6 +561,8 @@ static inline int __ast_cond_timedwait(const char *filename, int lineno, const c 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) { -- cgit v1.2.3