projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de7021b
)
mesa: Fix missing finite symbol error on Windows.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 24 Sep 2009 11:36:11 +0000
(12:36 +0100)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 22 Dec 2009 01:56:25 +0000
(17:56 -0800)
Caused by some weird logic regarding the __WIN32__ define which made
the finite definition dependent on the header include order.
(cherry picked from commit
622bdecabd73167d2f2f3aff0e223a8c64433f99
)
src/mesa/main/compiler.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index a296404df75e72e2d8e5272cffa76b9dc4edd184..4eb249b4af13df8b1a12b748e1bb17034844702c 100644
(file)
--- 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