mesa: move finite macro to imports.h

Move it to the only place it's used.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Brian Paul 2015-02-26 13:22:36 -07:00
parent 977c56df09
commit 8a25e73df3
2 changed files with 8 additions and 8 deletions

View File

@ -63,14 +63,6 @@ extern "C" {
#endif
/**
* finite macro.
*/
#if defined(_MSC_VER)
# define finite _finite
#endif
/**
* Disable assorted warnings
*/

View File

@ -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
***/