summaryrefslogtreecommitdiff
path: root/include/utils/AndroidThreads.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils/AndroidThreads.h')
-rw-r--r--include/utils/AndroidThreads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/AndroidThreads.h b/include/utils/AndroidThreads.h
index aad1e82cb..4c2dd49f6 100644
--- a/include/utils/AndroidThreads.h
+++ b/include/utils/AndroidThreads.h
@@ -73,7 +73,7 @@ extern void androidSetCreateThreadFunc(android_create_thread_fn func);
// ------------------------------------------------------------------
// Extra functions working with raw pids.
-#ifdef HAVE_ANDROID_OS
+#if defined(__ANDROID__)
// Change the priority AND scheduling group of a particular thread. The priority
// should be one of the ANDROID_PRIORITY constants. Returns INVALID_OPERATION
// if the priority set failed, else another value if just the group set failed;