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

Explicit parenthesis when mixing && and ||

(cherry picked from commit b6e52e1f)
parent 65c64485
......@@ -562,7 +562,8 @@ static inline int vlc_spin_init (vlc_spinlock_t *spin)
#endif
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 ();
#elif defined(__APPLE__)
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