[svn-commits] trunk r36421 - /trunk/include/asterisk/lock.h

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Jun 30 09:02:06 MST 2006


Author: russell
Date: Fri Jun 30 11:02:05 2006
New Revision: 36421

URL: http://svn.digium.com/view/asterisk?rev=36421&view=rev
Log:
fix the condition for including the header for osx atomics

Modified:
    trunk/include/asterisk/lock.h

Modified: trunk/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/lock.h?rev=36421&r1=36420&r2=36421&view=diff
==============================================================================
--- trunk/include/asterisk/lock.h (original)
+++ trunk/include/asterisk/lock.h Fri Jun 30 11:02:05 2006
@@ -738,7 +738,7 @@
 
 #include "asterisk/inline_api.h"
 
-#ifdef __Darwin__
+#if defined(HAVE_OSX_ATOMICS)
 #include "libkern/OSAtomic.h"
 #endif
 



More information about the svn-commits mailing list