From 537908e429e62122214492faa7ddba1ac5948d4f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Oct 2004 14:24:27 +0000 Subject: [PATCH] Make the last change compile. --- glib/gthread.c | 4 +++- glib/gthreadinit.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/glib/gthread.c b/glib/gthread.c index 55225a6e0..7feaf9850 100644 --- a/glib/gthread.c +++ b/glib/gthread.c @@ -152,8 +152,10 @@ g_thread_init_glib (void) _g_mem_thread_init (); _g_messages_thread_init (); _g_atomic_thread_init (); +#ifdef G_OS_WIN32 _g_win32_thread_init (); - +#endif + g_threads_got_initialized = TRUE; g_thread_specific_private = g_private_new (g_thread_cleanup); diff --git a/glib/gthreadinit.h b/glib/gthreadinit.h index 0af3b60a1..34fa1f3b3 100644 --- a/glib/gthreadinit.h +++ b/glib/gthreadinit.h @@ -33,7 +33,9 @@ void _g_convert_thread_init (void) G_GNUC_INTERNAL; void _g_rand_thread_init (void) G_GNUC_INTERNAL; void _g_main_thread_init (void) G_GNUC_INTERNAL; void _g_atomic_thread_init (void) G_GNUC_INTERNAL; +#ifdef G_OS_WIN32 void _g_win32_thread_init (void) G_GNUC_INTERNAL; +#endif /* Are called from glib/gthread.c. Must only contain g_private_new calls */ void _g_mem_thread_private_init (void) G_GNUC_INTERNAL;