mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
This fixes a build error on my mac. It also works on my linux box. Let me
know if it breaks any other platform ... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -791,7 +791,7 @@ typedef pthread_rwlock_t ast_rwlock_t;
|
|||||||
#ifdef HAVE_PTHREAD_RWLOCK_INITIALIZER
|
#ifdef HAVE_PTHREAD_RWLOCK_INITIALIZER
|
||||||
#define AST_RWLOCK_INIT_VALUE PTHREAD_RWLOCK_INITIALIZER
|
#define AST_RWLOCK_INIT_VALUE PTHREAD_RWLOCK_INITIALIZER
|
||||||
#else
|
#else
|
||||||
#define AST_RWLOCK_INIT_VALUE NULL
|
#define AST_RWLOCK_INIT_VALUE { 0 }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_THREADS
|
#ifdef DEBUG_THREADS
|
||||||
|
|||||||
Reference in New Issue
Block a user