mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 09:10:16 +01:00
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
2 changed files with 8 additions and 8 deletions
|
|
@ -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…
Add table
Reference in a new issue