Just always call the init function.
already_done = TRUE;
-#ifdef HAVE_G_THREAD_IMPL_INIT
- g_thread_impl_init();
-#endif /* HAVE_G_THREAD_IMPL_INIT */
-
+ g_thread_impl_init ();
g_thread_functions_for_glib_use = g_thread_functions_for_glib_use_default;
g_thread_init_glib ();
}
#define G_MUTEX_SIZE (sizeof (pthread_mutex_t))
-#if defined(_SC_THREAD_STACK_MIN) || defined (HAVE_PRIORITIES)
-#define HAVE_G_THREAD_IMPL_INIT
static void
g_thread_impl_init(void)
{
}
#endif /* HAVE_PRIORITIES */
}
-#endif /* _SC_THREAD_STACK_MIN || HAVE_PRIORITIES */
static GMutex *
g_mutex_new_posix_impl (void)
NULL /* no equal function necessary */
};
-#define HAVE_G_THREAD_IMPL_INIT
static void
g_thread_impl_init ()
{