diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-12 16:49:49 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-12 16:49:49 +0000 |
commit | afb6bf76636a5911aa25e572c78c33f6eca0cb60 (patch) | |
tree | 60d42477d9ca1410b4db2a8f61c6857194af0ed9 /include/asterisk | |
parent | d550dbabadfdee98b9c613d4b265eac642073320 (diff) |
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
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 ( |