diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-08-31 17:02:21 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-09-09 12:47:40 -0400 |
commit | 7cf89847e26af7817827a47cc2f4857d1742f4d0 (patch) | |
tree | 1a2cb55c5230510e0144fc7b68fa380974439eec /gthread/gthread-posix.c | |
parent | 46af418e05de82cfd6174575ef3f376aecfe8795 (diff) |
Stop using HAVE_G_THREAD_IMPL_INIT
Just always call the init function.
Diffstat (limited to 'gthread/gthread-posix.c')
-rw-r--r-- | gthread/gthread-posix.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gthread/gthread-posix.c b/gthread/gthread-posix.c index d4467c022..2d5dd7e6f 100644 --- a/gthread/gthread-posix.c +++ b/gthread/gthread-posix.c @@ -129,8 +129,6 @@ static gulong g_thread_min_stack_size = 0; #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) { @@ -146,7 +144,6 @@ g_thread_impl_init(void) } #endif /* HAVE_PRIORITIES */ } -#endif /* _SC_THREAD_STACK_MIN || HAVE_PRIORITIES */ static GMutex * g_mutex_new_posix_impl (void) |