util: only use SCHED_IDLE in pthread_setschedparam() when it's defined
authorRoland Scheidegger <sroland@vmware.com>
Sat, 26 Aug 2017 15:08:07 +0000 (17:08 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 31 Aug 2017 23:10:32 +0000 (01:10 +0200)
commitc92fe8a8c50968a6ac37cbecdd54208f0eea246c
treec17509748c8074276de1b468749c4bb9d69d2b78
parent242211933a06826961709c2689a1d30f735ab7b9
util: only use SCHED_IDLE in pthread_setschedparam() when it's defined

Fixes build error when it's not.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/util/u_queue.c