]> git.sesse.net Git - vlc/blobdiff - include/vlc_threads.h
New filter chain handling API. This should make it possible to factorize
[vlc] / include / vlc_threads.h
index 72dac3009a096718ca88c5e93811868eebaf65fd..3a04143799f837031a502b556b3c8644dd71eaef 100644 (file)
@@ -184,9 +184,9 @@ VLC_EXPORT( void, __vlc_thread_join,   ( vlc_object_t *, const char *, int ) );
 #define vlc_mutex_lock( P_MUTEX )                                           \
     __vlc_mutex_lock( __FILE__, __LINE__, P_MUTEX )
 
-#if defined(LIBVLC_USE_PTHREAD)
 VLC_EXPORT(void, vlc_pthread_fatal, (const char *action, int error, const char *file, unsigned line));
 
+#if defined(LIBVLC_USE_PTHREAD)
 # define VLC_THREAD_ASSERT( action ) \
     if (val) \
         vlc_pthread_fatal (action, val, psz_file, i_line)