From: Felix Paul Kühne Date: Sun, 19 Apr 2009 21:36:28 +0000 (+0200) Subject: clang compilation fix X-Git-Tag: 1.0.0-rc1~301 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=bb4b491012d3415029101ed41fbc1e0a4f772640;p=vlc clang compilation fix --- diff --git a/include/vlc_threads.h b/include/vlc_threads.h index 71a8dbec5f..6f5f591d31 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__)