diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-22 00:45:38 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-22 00:45:38 +0000 |
commit | e77065ccab791a5f766c30848c5fb6c95c7dc98c (patch) | |
tree | e8d1ea46c503f7e1f67499499072b226a5ad1184 | |
parent | c782cfc22702459dbc86945a8017645f8605f20a (diff) |
Merged revisions 169944 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r169944 | tilghman | 2009-01-21 18:44:52 -0600 (Wed, 21 Jan 2009) | 16 lines
Merged revisions 169943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r169943 | tilghman | 2009-01-21 18:43:31 -0600 (Wed, 21 Jan 2009) | 9 lines
AST_RWLOCK_INIT_VALUE is always defined. What we really wanted to ask is
whether autoconf detected a static initializer value. This fixes rwlocks
on all such platforms (mainly, Mac OS X).
(closes issue #13767)
Reported by: jcovert
Patches:
20090121__bug13767.diff.txt uploaded by Corydon76 (license 14)
Tested by: jcovert, Corydon76
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@169945 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | include/asterisk/linkedlists.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index ff23e8f1b..1ce7ee2bd 100644 --- a/include/asterisk/linkedlists.h +++ b/include/asterisk/linkedlists.h @@ -283,7 +283,7 @@ struct name { \ This would define \c struct \c entry_list, intended to hold a list of type \c struct \c entry. */ -#ifndef AST_RWLOCK_INIT_VALUE +#ifndef HAVE_PTHREAD_RWLOCK_INITIALIZER #define AST_RWLIST_HEAD_STATIC(name, type) \ struct name { \ struct type *first; \ |