diff options
author | José Fonseca <[email protected]> | 2009-09-24 12:36:11 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-09-24 13:12:50 +0100 |
commit | 622bdecabd73167d2f2f3aff0e223a8c64433f99 (patch) | |
tree | 652db8d7b2d5afb11d53dbd5e13503d718364b43 | |
parent | 1bf0651d9b58a5c150fcf37016ae1bda425bb05a (diff) |
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.
-rw-r--r-- | src/mesa/main/compiler.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 9319505a75d..380663ec971 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -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 |