Make the last change compile.
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 26 Oct 2004 14:24:27 +0000 (14:24 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 26 Oct 2004 14:24:27 +0000 (14:24 +0000)
glib/gthread.c
glib/gthreadinit.h

index 55225a6..7feaf98 100644 (file)
@@ -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);
index 0af3b60..34fa1f3 100644 (file)
@@ -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;