]> git.sesse.net Git - vlc/blobdiff - include/vlc_threads.h
Fix warning
[vlc] / include / vlc_threads.h
index 6036ac43ba41b3891fa47b864a86a648e0812430..9627fc1fc01bd8b22abd8cfebe2bc847cd6127c0 100644 (file)
@@ -48,6 +48,8 @@
 #   include <byteorder.h>
 
 #elif defined( PTHREAD_COND_T_IN_PTHREAD_H )  /* pthreads (like Linux & BSD) */
+#   define LIBVLC_USE_PTHREAD 1
+
 #   include <pthread.h>
 #   ifdef DEBUG
         /* Needed for pthread_cond_timedwait */
@@ -69,7 +71,7 @@
  *****************************************************************************/
 
 /* Thread priorities */
-#ifdef SYS_DARWIN
+#ifdef __APPLE__
 #   define VLC_THREAD_PRIORITY_LOW (-47)
 #   define VLC_THREAD_PRIORITY_INPUT 37
 #   define VLC_THREAD_PRIORITY_AUDIO 37