mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
fix build for non debug threads
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1493,6 +1493,8 @@ typedef pthread_rwlock_t ast_rwlock_t;
|
|||||||
#define AST_RWLOCK_INIT_VALUE { 0 }
|
#define AST_RWLOCK_INIT_VALUE { 0 }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define ast_rwlock_init_notracking(a) ast_rwlock_init(a)
|
||||||
|
|
||||||
static inline int ast_rwlock_init(ast_rwlock_t *prwlock)
|
static inline int ast_rwlock_init(ast_rwlock_t *prwlock)
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
|
|||||||
Reference in New Issue
Block a user