Commit b6e52e1f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Explicit parenthesis when mixing && and ||

parent d411c31c
...@@ -414,7 +414,8 @@ static inline int vlc_spin_init (vlc_spinlock_t *spin) ...@@ -414,7 +414,8 @@ static inline int vlc_spin_init (vlc_spinlock_t *spin)
#endif #endif
static inline void barrier (void) static inline void barrier (void)
{ {
#if defined (__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) #if defined (__GNUC__) && \
((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
__sync_synchronize (); __sync_synchronize ();
#elif defined(__APPLE__) #elif defined(__APPLE__)
OSMemoryBarrier (); OSMemoryBarrier ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment