aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/UIThrStubs.c
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2012-01-01 21:04:52 +0000
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:25 +0200
commitfd71577231e93e9c886a08e8d707778664c1cfa4 (patch)
treefd06b03dedacac5cec448ef925acfc6ddfbdd2ac /nx-X11/lib/X11/UIThrStubs.c
parent5eb1147cc32d59c2f3490d38918e386676eac94b (diff)
downloadnx-libs-fd71577231e93e9c886a08e8d707778664c1cfa4.tar.gz
nx-libs-fd71577231e93e9c886a08e8d707778664c1cfa4.tar.bz2
nx-libs-fd71577231e93e9c886a08e8d707778664c1cfa4.zip
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> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/UIThrStubs.c')
-rw-r--r--nx-X11/lib/X11/UIThrStubs.c4
1 files changed, 1 insertions, 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 <nx-X11/Xthreads.h>
#else /* !WIN32 */
#ifdef USE_TIS_SUPPORT
#include <tis.h>