mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Merged revisions 216437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r216437 | mvanbaak | 2009-09-04 16:00:38 +0200 (Fri, 04 Sep 2009) | 2 lines make sure canlog is set so we can compile with DEBUG_THREADS enabled on OpenBSD ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1554,6 +1554,7 @@ static inline int _ast_rwlock_tryrdlock(ast_rwlock_t *t, const char *name,
|
||||
{
|
||||
int res;
|
||||
struct ast_lock_track *lt = &t->track;
|
||||
int canlog = strcmp(filename, "logger.c") & t->tracking;
|
||||
#ifdef HAVE_BKTR
|
||||
struct ast_bt *bt = NULL;
|
||||
#endif
|
||||
@@ -1612,6 +1613,7 @@ static inline int _ast_rwlock_trywrlock(ast_rwlock_t *t, const char *name,
|
||||
{
|
||||
int res;
|
||||
struct ast_lock_track *lt= &t->track;
|
||||
int canlog = strcmp(filename, "logger.c") & t->tracking;
|
||||
#ifdef HAVE_BKTR
|
||||
struct ast_bt *bt = NULL;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user