diff options
author | Joshua Colp <jcolp@digium.com> | 2007-11-17 23:03:16 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-11-17 23:03:16 +0000 |
commit | 42b08b4eb850bea20f891e0d22b5cf7130f1e252 (patch) | |
tree | fb5423e54d8c3b7806f85c82d1c687e45a6b3fb4 /include/asterisk/lock.h | |
parent | 19460802ef09d57084773f285cf138e566b1a200 (diff) |
Use autoconf logic to determine the presence of PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_RECURSIVE_NP. Enclose error message from network.h in "
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/lock.h')
-rw-r--r-- | include/asterisk/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index f22911d14..16ce5bb67 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -81,7 +81,7 @@ /* Asterisk REQUIRES recursive (not error checking) mutexes and will not run without them. */ -#if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP) && defined(PTHREAD_MUTEX_RECURSIVE_NP) +#if defined(HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP) && defined(HAVE_PTHREAD_MUTEX_RECURSIVE_NP) #define PTHREAD_MUTEX_INIT_VALUE PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP #define AST_MUTEX_KIND PTHREAD_MUTEX_RECURSIVE_NP #else |