diff options
author | Brian Paul <[email protected]> | 2015-02-23 13:33:50 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-23 14:45:14 -0700 |
commit | cbd287f094b4bd7a6030edf97f5330b4c3fa9a5c (patch) | |
tree | 07d643640cda1add32edd74ab95fd47d44c71cfd /src/gallium/auxiliary/util | |
parent | 9b9ef2aeeec07d011e9c51632914fa5e769ca0ad (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h index 1e1bdf0cc79..b4a65e4d5fa 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/src/gallium/auxiliary/util/u_math.h @@ -47,7 +47,7 @@ extern "C" { #endif -#include <math.h> +#include "c99_math.h" #include <float.h> #include <stdarg.h> |