diff options
author | Steve Murphy <murf@digium.com> | 2007-08-20 17:37:36 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2007-08-20 17:37:36 +0000 |
commit | b69734ae09bc5cbc3a2f5b123771782b5d97bad2 (patch) | |
tree | b667a9e05c00b5f49d6b55189fa4d750e23a20f9 /include | |
parent | e9a50d1f15e4b92d178f21ca7b8563e005b26049 (diff) |
Stephn Davies reports that this will help make things work on 64-bit machines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-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 c261b7d33..90ff69091 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -785,7 +785,7 @@ AST_INLINE_API(int ast_atomic_fetchadd_int(volatile int *p, int v), AST_INLINE_API(int ast_atomic_fetchadd_int(volatile int *p, int v), { return OSAtomicAdd64(v, (int64_t *) p); -#elif defined (__i386__) +#elif defined (__i386__) || defined(__x86_64__) AST_INLINE_API(int ast_atomic_fetchadd_int(volatile int *p, int v), { __asm __volatile ( |