st/nine: Minor change to support musl libc
authorWang He <xw897002528@gmail.com>
Tue, 10 May 2016 05:40:30 +0000 (13:40 +0800)
committerAxel Davy <axel.davy@ens.fr>
Wed, 18 May 2016 21:37:14 +0000 (23:37 +0200)
commitf21b7d1e5c21b749ae7c19d3dc80dc4e14e4bb77
treeac6cf32bdb570f2a9bf02b7b4d25b01a8224da29
parentde39231134348a5ffb92f7cc2b3098e11384912a
st/nine: Minor change to support musl libc

A few changes to support musl libc as well.

In particular fpu_control.h is glibc specific.
fenv.h doesn't enable to do exactly what we want either,
so instead use assembly directly.

Signed-off-by: Wang He <xw897002528@gmail.com>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/threadpool.h