Commit 66a76416 authored by Rafaël Carré's avatar Rafaël Carré

fix compile when spinlocks aren't available

parent cc6e3d03
...@@ -626,7 +626,7 @@ typedef vlc_mutex_t vlc_spinlock_t; ...@@ -626,7 +626,7 @@ typedef vlc_mutex_t vlc_spinlock_t;
static inline int vlc_spin_init (vlc_spinlock_t *spin) static inline int vlc_spin_init (vlc_spinlock_t *spin)
{ {
return __vlc_mutex_init (NULL, spin); return __vlc_mutex_init (spin);
} }
# define vlc_spin_lock vlc_mutex_lock # define vlc_spin_lock vlc_mutex_lock
......
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