[Home]

Summary:ASTERISK-05520: [patch] Fix compile on cygwin (proper lock.h changes)
Reporter:Michael Jerris (mikej)Labels:
Date Opened:2005-11-08 23:25:28.000-0600Date Closed:2008-01-15 15:55:27.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) cygwin.lock.h.diff
Description:The more propper fix to the pthread_mutex_t \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP issue that breaks compile on platforms that use a cast to (pthread_mutex_t) in their PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP definition.  If there is a more general way to do this, that would be preferred, but this works for me.
Comments:By: Kevin P. Fleming (kpfleming) 2005-11-10 19:31:22.000-0600

Committed to CVS HEAD with minor mods to compile on non-Cygwing platforms. Thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:55:27.000-0600

Repository: asterisk
Revision: 7061

U   trunk/ChangeLog
U   trunk/include/asterisk/lock.h

------------------------------------------------------------------------
r7061 | kpfleming | 2008-01-15 15:55:26 -0600 (Tue, 15 Jan 2008) | 2 lines

issue ASTERISK-5520, modified to compile on non-Cygwin platforms :-)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=7061