mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-05 02:58:03 +02:00
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:
parent
bf15ccb682
commit
d58e8f8e27
1 changed files with 1 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue