mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 02:00:22 +01:00
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:
parent
de7021b71c
commit
09415ca234
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue