002-fix_compile_with_uclibc.patch (309B)
1 --- a/lib/pthread.in.h 2 +++ b/lib/pthread.in.h 3 @@ -252,6 +252,9 @@ pthread_mutex_unlock (pthread_mutex_t *m 4 5 /* Approximate spinlocks with mutexes. */ 6 7 +#ifdef __UCLIBC__ 8 +#define pthread_spinlock_t original_pthread_spinlock_t 9 +#endif 10 typedef pthread_mutex_t pthread_spinlock_t; 11 12 _GL_PTHREAD_INLINE int