From fd71577231e93e9c886a08e8d707778664c1cfa4 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Sun, 1 Jan 2012 21:04:52 +0000 Subject: 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 Backported-to-NX-by: Ulrich Sibiller --- nx-X11/lib/X11/UIThrStubs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nx-X11/lib/X11/UIThrStubs.c b/nx-X11/lib/X11/UIThrStubs.c index a3bcdfc41..8f4ea076b 100644 --- a/nx-X11/lib/X11/UIThrStubs.c +++ b/nx-X11/lib/X11/UIThrStubs.c @@ -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 #else /* !WIN32 */ #ifdef USE_TIS_SUPPORT #include -- cgit v1.2.3