mirror of git://gcc.gnu.org/git/gcc.git
Conditionally include <sched.h>; include <config.h> from libobjc/.
From-SVN: r35695
This commit is contained in:
parent
d04703d6d7
commit
5f974826dc
|
|
@ -90,6 +90,13 @@ __gthread_active_p (void)
|
||||||
|
|
||||||
#ifdef _LIBOBJC
|
#ifdef _LIBOBJC
|
||||||
|
|
||||||
|
/* This is the config.h file in libobjc/ */
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_SCHED_H
|
||||||
|
# include <sched.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Key structure for maintaining thread specific storage */
|
/* Key structure for maintaining thread specific storage */
|
||||||
static pthread_key_t _objc_thread_storage;
|
static pthread_key_t _objc_thread_storage;
|
||||||
static pthread_attr_t _objc_thread_attribs;
|
static pthread_attr_t _objc_thread_attribs;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue