From 2aa068476a5f9db27a31ce738aabb4b0f8cdbe3e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Aug 2008 01:36:16 +0000 Subject: [PATCH] =?UTF-8?q?=20=20=20=20=20=20=20=20Bug=20460920=20?= =?UTF-8?q?=E2=80=93=20build=20fix=20for=20--disable-threads?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gthread-impl.c: Implement g_thread_init_with_errorcheck_mutexes in the !G_THREAD_ENABLED case. Pointed out by Jan Nieuwenhuizen svn path=/trunk/; revision=7364 --- gthread/ChangeLog | 7 +++++++ gthread/gthread-impl.c | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 40969be8b..252d4ffc7 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,10 @@ +2008-08-04 Matthias Clasen + + Bug 460920 – build fix for --disable-threads + + * gthread-impl.c: Implement g_thread_init_with_errorcheck_mutexes + in the !G_THREAD_ENABLED case. Pointed out by Jan Nieuwenhuizen + 2008-08-04 Matthias Clasen * === Released 2.17.6 === diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c index 645907739..24eb3c48e 100644 --- a/gthread/gthread-impl.c +++ b/gthread/gthread-impl.c @@ -363,4 +363,10 @@ g_thread_init (GThreadFunctions* init) g_error ("GLib thread support is disabled."); } +void +g_thread_init_with_errorcheck_mutexes (GThreadFunctions* init) +{ + g_error ("GLib thread support is disabled."); +} + #endif /* !G_THREADS_ENABLED */