diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-08-17 01:36:16 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-08-17 01:36:16 +0000 |
commit | 2aa068476a5f9db27a31ce738aabb4b0f8cdbe3e (patch) | |
tree | 93c123181219ec5e3b486c69a8dc7077033f8277 /gthread | |
parent | 869e2c000f73cdfc75967a50837566d794bfea76 (diff) | |
download | glib-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/ChangeLog | 7 | ||||
-rw-r--r-- | gthread/gthread-impl.c | 6 |
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 */ |