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
This commit is contained in:
Matthias Clasen 2008-08-17 01:36:16 +00:00
parent 869e2c000f
commit 2aa068476a
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
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 ===

View File

@ -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 */