From 6af97b5d59eb132d80673b85014ae64fc98b73bf Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 12 Mar 2007 16:49:49 +0000 Subject: [PATCH] We can't use the assembler version of fetchadd_int under Intel Macs. (issue #9254 reported by darrell budic) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58832 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 67deba4dd6..f2ebdabe7e 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 ( -- 2.47.2