diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/compiler.h | 8 | ||||
-rw-r--r-- | src/mesa/main/imports.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index a0d2a293d8a..a0ef75a24fd 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -64,14 +64,6 @@ extern "C" { /** - * finite macro. - */ -#if defined(_MSC_VER) -# define finite _finite -#endif - - -/** * Disable assorted warnings */ #if defined(_WIN32) && !defined(__CYGWIN__) diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 838b985b215..79210006109 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -121,6 +121,14 @@ static inline GLfloat LOG2(GLfloat x) +/** + * finite macro. + */ +#if defined(_MSC_VER) +# define finite _finite +#endif + + /*** *** IS_INF_OR_NAN: test if float is infinite or NaN ***/ |