[svn-commits] file: branch 1.2 r58832 -
/branches/1.2/include/asterisk/lock.h
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Mar 12 09:49:50 MST 2007
Author: file
Date: Mon Mar 12 11:49:49 2007
New Revision: 58832
URL: http://svn.digium.com/view/asterisk?view=rev&rev=58832
Log:
We can't use the assembler version of fetchadd_int under Intel Macs. (issue #9254 reported by darrell budic)
Modified:
branches/1.2/include/asterisk/lock.h
Modified: branches/1.2/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/branches/1.2/include/asterisk/lock.h?view=diff&rev=58832&r1=58831&r2=58832
==============================================================================
--- branches/1.2/include/asterisk/lock.h (original)
+++ branches/1.2/include/asterisk/lock.h Mon Mar 12 11:49:49 2007
@@ -670,7 +670,7 @@
#include "asterisk/inline_api.h"
-#if defined (__i386__)
+#if defined (__i386__) && !defined(__APPLE__)
AST_INLINE_API(int ast_atomic_fetchadd_int(volatile int *p, int v),
{
__asm __volatile (
More information about the svn-commits
mailing list