Commit 5143683b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Provide default for vlc_pthread_fatal

parent cb63940a
...@@ -73,7 +73,6 @@ static inline unsigned long vlc_threadid (void) ...@@ -73,7 +73,6 @@ static inline unsigned long vlc_threadid (void)
return v.i; return v.i;
} }
/***************************************************************************** /*****************************************************************************
* vlc_thread_fatal: Report an error from the threading layer * vlc_thread_fatal: Report an error from the threading layer
***************************************************************************** *****************************************************************************
...@@ -114,9 +113,15 @@ void vlc_pthread_fatal (const char *action, int error, ...@@ -114,9 +113,15 @@ void vlc_pthread_fatal (const char *action, int error,
fflush (stderr); fflush (stderr);
abort (); abort ();
} }
#else
void vlc_pthread_fatal (const char *action, int error,
const char *file, unsigned line)
{
(void)action; (void)error; (void)file; (void)line;
abort();
}
#endif #endif
/***************************************************************************** /*****************************************************************************
* vlc_threads_init: initialize threads system * vlc_threads_init: initialize threads system
***************************************************************************** *****************************************************************************
......
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