projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf0651
)
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
José Fonseca
<jfonseca@vmware.com>
Thu, 24 Sep 2009 12:12:50 +0000
(13:12 +0100)
Caused by some weird logic regarding the __WIN32__ define which made
the finite definition dependent on the header include order.
src/mesa/main/compiler.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index 9319505a75d32ff499d73e24403829062185486c..380663ec97107222afad35343515cf0c1ea4d053 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