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

move mutex setkind hack to src/

parent 59bc1589
......@@ -56,9 +56,6 @@
# include <time.h>
# endif
/* This is not prototyped under Linux, though it exists. */
int pthread_mutexattr_setkind_np( pthread_mutexattr_t *attr, int kind );
#else
# error no threads available on your system !
......
......@@ -225,6 +225,11 @@ int __vlc_threads_end( vlc_object_t *p_this )
return VLC_SUCCESS;
}
#ifdef __linux__
/* This is not prototyped under Linux, though it exists. */
int pthread_mutexattr_setkind_np( pthread_mutexattr_t *attr, int kind );
#endif
/*****************************************************************************
* vlc_mutex_init: initialize a mutex
*****************************************************************************/
......
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