Guard some pthread API with the appropriate POSIX check, or Android.
authorRobin Burchell <robin.burchell@collabora.co.uk>
Tue, 1 May 2012 19:22:20 +0000 (21:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 4 May 2012 13:24:52 +0000 (15:24 +0200)
commita592f221c31c7eafedfa7fba1e19281073c249dd
tree079259273380bba82049be7b3337d54a22fa0ff1
parentc4f4be9bd15726fe02a5a8e7113566ac6c0f9527
Guard some pthread API with the appropriate POSIX check, or Android.

Android does not support some parts of POSIX. It's also unfortunately not
POSIX-compliant, meaning we need to guard things like pthread_cancel.

Change-Id: I2979eb5579c822f4f5ba27bcc29e118b908e8bdc
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/corelib/thread/qthread_unix.cpp