From 0226440a2d915e34139413803b3c9fbb261dd9c1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 11 Jan 2013 10:50:59 +0100 Subject: thread/{Mutex,Cond}: new backend for WIN32 Use CRITICAL_SECTION and CONDITION_VARIABLE. This requires Windows Vista or newer. It fixes problems with GLib threading objects that were implicitly created by static constructors before g_thread_init(). --- src/thread/Cond.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/thread/Cond.hxx') diff --git a/src/thread/Cond.hxx b/src/thread/Cond.hxx index e971fa591..bbaabddc2 100644 --- a/src/thread/Cond.hxx +++ b/src/thread/Cond.hxx @@ -24,8 +24,8 @@ /* mingw-w64 4.6.3 lacks a std::cond implementation */ -#include "GLibCond.hxx" -typedef GLibCond Cond; +#include "WindowsCond.hxx" +typedef WindowsCond Cond; #else -- cgit v1.2.3