summaryrefslogtreecommitdiff
path: root/gthread
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-08-17 01:36:16 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-08-17 01:36:16 +0000
commit2aa068476a5f9db27a31ce738aabb4b0f8cdbe3e (patch)
tree93c123181219ec5e3b486c69a8dc7077033f8277 /gthread
parent869e2c000f73cdfc75967a50837566d794bfea76 (diff)
downloadglib-2aa068476a5f9db27a31ce738aabb4b0f8cdbe3e.tar.gz
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 svn path=/trunk/; revision=7364
Diffstat (limited to 'gthread')
-rw-r--r--gthread/ChangeLog7
-rw-r--r--gthread/gthread-impl.c6
2 files changed, 13 insertions, 0 deletions
diff --git a/gthread/ChangeLog b/gthread/ChangeLog
index 40969be8b..252d4ffc7 100644
--- a/gthread/ChangeLog
+++ b/gthread/ChangeLog
@@ -1,5 +1,12 @@
2008-08-04 Matthias Clasen <mclasen@redhat.com>
+ 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 <mclasen@redhat.com>
+
* === Released 2.17.6 ===
2008-08-04 Matthias Clasen <mclasen@redhat.com>
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 */