mesa: Fix missing finite symbol error on Windows.
Caused by some weird logic regarding the __WIN32__ define which made
the finite definition dependent on the header include order.
(cherry picked from commit 622bdecabd)
This commit is contained in:
@@ -107,8 +107,7 @@ extern "C" {
|
||||
/**
|
||||
* finite macro.
|
||||
*/
|
||||
#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) && !defined(BUILD_FOR_SNAP)
|
||||
# define __WIN32__
|
||||
#if defined(_MSC_VER)
|
||||
# define finite _finite
|
||||
#elif defined(__WATCOMC__)
|
||||
# define finite _finite
|
||||
|
||||
Reference in New Issue
Block a user