mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
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
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user