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:
parent
977c56df09
commit
8a25e73df3
|
@ -63,14 +63,6 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* finite macro.
|
||||
*/
|
||||
#if defined(_MSC_VER)
|
||||
# define finite _finite
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Disable assorted warnings
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
***/
|
||||
|
|
Loading…
Reference in New Issue