Merge "HAVE_ANDROID_OS implies that you have <pthread.h> and <sched.h>."
This commit is contained in:
commit
fae953ebcc
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ static inline SchedPolicy _policy(SchedPolicy p)
|
||||||
return p == SP_DEFAULT ? SP_SYSTEM_DEFAULT : p;
|
return p == SP_DEFAULT ? SP_SYSTEM_DEFAULT : p;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_ANDROID_OS) && defined(HAVE_SCHED_H) && defined(HAVE_PTHREADS)
|
#if defined(HAVE_ANDROID_OS)
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue