Use pthreads on MinGW also

Use pthreads (provided by the pthreads-win32 compatability library which implements
them using native Win32 threading) on MinGW

Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Ryan Pavlik 2012-01-01 21:04:52 +00:00 committed by Jon TURNEY
parent bf15ccb682
commit d58e8f8e27

View file

@ -81,9 +81,7 @@ typedef thread_t xthread_t;
#pragma weak cond_broadcast = _Xthr_zero_stub_
#else /* !SVR4 */
#ifdef WIN32
/*
* Don't know what to do here. Is there something do be done at all?
*/
#include <X11/Xthreads.h>
#else /* !WIN32 */
#ifdef USE_TIS_SUPPORT
#include <tis.h>