mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-03 07:17:12 +01:00
Don't use _SC_MONOTONIC_CLOCK unless USE_CLOCK_GETTIME is defined.
2007-01-08 Matthias Clasen <mclasen@redhat.com> * gthread/gthread-posix.c (g_thread_impl_init): Don't use _SC_MONOTONIC_CLOCK unless USE_CLOCK_GETTIME is defined. (#394150) svn path=/branches/glib-2-12/; revision=5231
This commit is contained in:
committed by
Matthias Clasen
parent
61927a5f64
commit
731af51493
@@ -332,7 +332,8 @@ g_thread_init (GThreadFunctions* init)
|
||||
init->thread_join &&
|
||||
init->thread_exit &&
|
||||
init->thread_set_priority &&
|
||||
init->thread_self);
|
||||
init->thread_self &&
|
||||
init->gettime);
|
||||
|
||||
/* if somebody is calling g_thread_init (), it means that he wants to
|
||||
* have thread support, so check this
|
||||
|
||||
Reference in New Issue
Block a user