aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/portability.h')
-rw-r--r--lib/portability.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portability.h b/lib/portability.h
index e0dd914e..f1dcc523 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -274,7 +274,7 @@ pid_t xfork(void);
//#define strncpy(...) @@strncpyisbadmmkay@@
//#define strncat(...) @@strncatisbadmmkay@@
-#ifdef __ANDROID__
+#if CFG_TOYBOX_ANDROID_SCHEDPOLICY
#include <cutils/sched_policy.h>
#else
static inline int get_sched_policy(int tid, void *policy) {return 0;}