am 11bbe200: Hopefully fix the build.

Merge commit '11bbe200cba150cfa5593bb87b54f3072a5ab2c5' into gingerbread-plus-aosp

* commit '11bbe200cba150cfa5593bb87b54f3072a5ab2c5':
  Hopefully fix the build.
This commit is contained in:
Dianne Hackborn 2010-09-07 12:36:33 -07:00 committed by Android Git Automerger
commit d8f1a656cb

View File

@ -281,6 +281,7 @@ pid_t androidGetTid()
#endif #endif
} }
#if defined(HAVE_PTHREADS)
static pthread_once_t gDoSchedulingGroupOnce = PTHREAD_ONCE_INIT; static pthread_once_t gDoSchedulingGroupOnce = PTHREAD_ONCE_INIT;
static bool gDoSchedulingGroup = true; static bool gDoSchedulingGroup = true;
@ -294,6 +295,7 @@ static void checkDoSchedulingGroup(void) {
} }
} }
} }
#endif
int androidSetThreadSchedulingGroup(pid_t tid, int grp) int androidSetThreadSchedulingGroup(pid_t tid, int grp)
{ {