[vlc-commits] fix atomics for non-x86 clang targets
Felix Paul Kühne
git at videolan.org
Wed May 27 18:07:10 CEST 2015
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed May 27 18:06:44 2015 +0200| [f5d5cb75768b692359068e837f72c9fd7cf6bd45] | committer: Felix Paul Kühne
fix atomics for non-x86 clang targets
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f5d5cb75768b692359068e837f72c9fd7cf6bd45
---
include/vlc_atomic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vlc_atomic.h b/include/vlc_atomic.h
index aab2ead..9fc3e17 100644
--- a/include/vlc_atomic.h
+++ b/include/vlc_atomic.h
@@ -182,7 +182,7 @@ typedef ptrdiff_t atomic_ptrdiff_t;
typedef intmax_t atomic_intmax_t;
typedef uintmax_t atomic_uintmax_t;
-# if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) || (defined (__clang__) && (defined (__x86_64__) || defined (__i386__)))
+# if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) || (defined (__clang__))
/*** Intel/GCC atomics ***/
More information about the vlc-commits
mailing list