[vlc-devel] commit: clang compilation fix ( Felix Paul Kühne )
git version control
git at videolan.org
Mon Apr 20 00:14:47 CEST 2009
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 19 23:36:28 2009 +0200| [bb4b491012d3415029101ed41fbc1e0a4f772640] | committer: Felix Paul Kühne
clang compilation fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bb4b491012d3415029101ed41fbc1e0a4f772640
---
include/vlc_threads.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index 71a8dbe..6f5f591 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -335,7 +335,7 @@ static inline int vlc_spin_init (vlc_spinlock_t *spin)
#endif
static inline void barrier (void)
{
-#if defined (__GNUC__) && \
+#if defined (__GNUC__) && !(__APPLE__) && \
((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
__sync_synchronize ();
#elif defined(__APPLE__)
More information about the vlc-devel
mailing list