mesa: move math-related function into new c99_math.h file
authorBrian Paul <brianp@vmware.com>
Mon, 23 Feb 2015 20:33:50 +0000 (13:33 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 23 Feb 2015 21:45:14 +0000 (14:45 -0700)
commitcbd287f094b4bd7a6030edf97f5330b4c3fa9a5c
tree07d643640cda1add32edd74ab95fd47d44c71cfd
parent9b9ef2aeeec07d011e9c51632914fa5e769ca0ad
mesa: move math-related function into new c99_math.h file

The alternative would be to include math.h in c99_compat.h but that
seems heavy-handed.

This patch also replaces INLINE with inline in the c99 math function
wrappers.

Fixes MSVC build.

Acked-by: Matt Turner <mattst88@gmail.com>
include/c99_compat.h
include/c99_math.h [new file with mode: 0644]
src/gallium/auxiliary/util/u_math.h