Commit c1b694d1 authored by Jean-Paul Saman's avatar Jean-Paul Saman

vlc_threads.h additional condition for older glibc

parent b22b922e
......@@ -236,7 +236,8 @@ static inline void vlc_cleanup_lock (void *lock)
}
#define mutex_cleanup_push( lock ) vlc_cleanup_push (vlc_cleanup_lock, lock)
# if defined (_POSIX_SPIN_LOCKS) && ((_POSIX_SPIN_LOCKS - 0) > 0)
# if defined (_POSIX_SPIN_LOCKS) && ((_POSIX_SPIN_LOCKS - 0) >= 200112L) && \
((_XOPEN_SOURCE - 0) >= 600)
typedef pthread_spinlock_t vlc_spinlock_t;
/**
......
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