mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Fix compilation failure when MALLOC_DEBUG is enabled, but DEBUG_THREADS is not
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@78143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user