#ifdef __linux__
int count = 0;
#ifdef DEBUG_THREADS
- if ((count = chan->lock.mutex.__m_count))
+ if ((count = chan->lock.mutex.__data.__count))
#else
- if ((count = chan->lock.__m_count))
+ if ((count = chan->lock.__data.__count))
#endif
ast_log(LOG_DEBUG, ":::=== Still have %d locks (recursive)\n", count);
#endif
#ifdef __linux__
int count = 0;
#ifdef DEBUG_THREADS
- if ((count = chan->lock.mutex.__m_count))
+ if ((count = chan->lock.mutex.__data.__count))
#else
- if ((count = chan->lock.__m_count))
+ if ((count = chan->lock.__data.__count))
#endif
ast_log(LOG_DEBUG, ":::=== Now have %d locks (recursive)\n", count);
#endif
#ifdef __linux__
int count = 0;
#ifdef DEBUG_THREADS
- if ((count = chan->lock.mutex.__m_count))
+ if ((count = chan->lock.mutex.__data.__count))
#else
- if ((count = chan->lock.__m_count))
+ if ((count = chan->lock.__data.__count))
#endif
ast_log(LOG_DEBUG, ":::=== Now have %d locks (recursive)\n", count);
#endif