[asterisk-commits] tilghman: branch 1.6.0 r169945 - in /branches/1.6.0: ./ include/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 21 18:45:38 CST 2009


Author: tilghman
Date: Wed Jan 21 18:45:38 2009
New Revision: 169945

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=169945
Log:
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
  ........
................

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/include/asterisk/linkedlists.h

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/include/asterisk/linkedlists.h
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/include/asterisk/linkedlists.h?view=diff&rev=169945&r1=169944&r2=169945
==============================================================================
--- branches/1.6.0/include/asterisk/linkedlists.h (original)
+++ branches/1.6.0/include/asterisk/linkedlists.h Wed Jan 21 18:45:38 2009
@@ -283,7 +283,7 @@
   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;                                             \




More information about the asterisk-commits mailing list