From bb39b9f17b0a9b6ecf2087b8454730ba6ac8b876 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Tue, 7 Sep 2010 12:32:19 -0700 Subject: [PATCH] Hopefully fix the build. Change-Id: Id8cd92c0895c9939e1386ef488bd1309a3be3568 --- libs/utils/Threads.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/utils/Threads.cpp b/libs/utils/Threads.cpp index c8de1f51e..e5ece8e8a 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) {