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)
#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