diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-05 04:15:31 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-05 04:15:31 +0000 |
commit | 4b45304a3fe5619ab16c8d156c386778928548fe (patch) | |
tree | 8cbf97d2f7a783fb0d43edbee1f471cf6a6d6efd | |
parent | a6ef0352229305a15b51a87333a6d3205d9acbff (diff) |
Fix compilation failure when MALLOC_DEBUG is enabled, but DEBUG_THREADS is not
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@78143 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | include/asterisk/lock.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |