util: try to fix the Android and MacOS build
authorMarek Olšák <marek.olsak@amd.com>
Sun, 9 Sep 2018 01:02:18 +0000 (21:02 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 10 Sep 2018 18:49:07 +0000 (14:49 -0400)
commit9f1bbbdbbd77d346c74c7abbb31f399151a85713
treec9ec9de878ad9b3e83463f4bc339ad9469b12fef
parent6f00785765cb43b3288e32a6d5d69545cc3b7ef6
util: try to fix the Android and MacOS build

Bionic does not have pthread_setaffinity_np.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107869
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/util/u_thread.h