From 2aa068476a5f9db27a31ce738aabb4b0f8cdbe3e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Aug 2008 01:36:16 +0000 Subject: [PATCH] =?utf8?q?=20=20=20=20=20=20=20=20Bug=20460920=20=E2=80=93?= =?utf8?q?=20build=20fix=20for=20--disable-threads?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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 40969be..252d4ff 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,5 +1,12 @@ 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 === 2008-08-04 Matthias Clasen diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c index 6459077..24eb3c4 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 */ -- 2.7.4