HAVE_ANDROID_OS implies that you have <pthread.h> and <sched.h>.
Change-Id: Ica7940c00d1d5da9d50711fd138dd459deec9b6d
This commit is contained in:
parent
48d7489e85
commit
6acf3d7703
|
@ -37,7 +37,7 @@ static inline SchedPolicy _policy(SchedPolicy 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 <sched.h>
|
||||
|
|
Loading…
Reference in New Issue