summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2012-01-01 21:04:52 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-01-23 14:21:17 +0000
commitd58e8f8e27790017fcfdeca0843b7318d541c189 (patch)
tree4ac29abd74d7334a590b8a0610735a3a365c247c
parentbf15ccb6821664746ec23d769d757edf8059007e (diff)
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>
-rw-r--r--src/UIThrStubs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/UIThrStubs.c b/src/UIThrStubs.c
index a3bcdfc4..95873e88 100644
--- a/src/UIThrStubs.c
+++ b/src/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 <X11/Xthreads.h>
#else /* !WIN32 */
#ifdef USE_TIS_SUPPORT
#include <tis.h>