From afb6bf76636a5911aa25e572c78c33f6eca0cb60 Mon Sep 17 00:00:00 2001 From: file Date: Mon, 12 Mar 2007 16:49:49 +0000 Subject: We can't use the assembler version of fetchadd_int under Intel Macs. (issue #9254 reported by darrell budic) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@58832 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 67deba4dd..f2ebdabe7 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -670,7 +670,7 @@ int ast_atomic_fetchadd_int_slow(volatile int *p, int v); #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 ( -- cgit v1.2.3