diff options
author | 2010-09-07 12:32:19 -0700 | |
---|---|---|
committer | 2010-09-07 12:32:19 -0700 | |
commit | 11bbe200cba150cfa5593bb87b54f3072a5ab2c5 (patch) | |
tree | c9dd463aac220da1e76767e4d35f02df2f72704a | |
parent | f703b77c96a6d133fda534158eaf6190ff7c87f7 (diff) |
Hopefully fix the build.
Change-Id: Id8cd92c0895c9939e1386ef488bd1309a3be3568
-rw-r--r-- | libs/utils/Threads.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/utils/Threads.cpp b/libs/utils/Threads.cpp index c8de1f51ed8a..e5ece8e8a25a 100644 --- a/libs/utils/Threads.cpp +++ b/libs/utils/Threads.cpp @@ -281,6 +281,7 @@ pid_t androidGetTid() #endif } +#if defined(HAVE_PTHREADS) static pthread_once_t gDoSchedulingGroupOnce = PTHREAD_ONCE_INIT; static bool gDoSchedulingGroup = true; @@ -294,6 +295,7 @@ static void checkDoSchedulingGroup(void) { } } } +#endif int androidSetThreadSchedulingGroup(pid_t tid, int grp) { |