projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a8150
)
glu: Fix build on mingw-w64.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Mon, 29 Aug 2011 13:18:06 +0000
(14:18 +0100)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Tue, 30 Aug 2011 08:42:01 +0000
(09:42 +0100)
src/glu/sgi/include/gluos.h
patch
|
blob
|
history
diff --git
a/src/glu/sgi/include/gluos.h
b/src/glu/sgi/include/gluos.h
index ac0a7874cece23f5eb96b021bc9738a3d7ee0814..290a06f0282b5a090a4065e9ee27cf50031242bf 100644
(file)
--- a/
src/glu/sgi/include/gluos.h
+++ b/
src/glu/sgi/include/gluos.h
@@
-40,7
+40,13
@@
#define NOIME
#define NOMINMAX
+#ifdef __MINGW64_VERSION_MAJOR
+ #undef _WIN32_WINNT
+#endif
+
#ifndef _WIN32_WINNT
+ /* XXX: Workaround a bug in mingw-w64's headers when NOGDI is set and
+ * _WIN32_WINNT >= 0x0600 */
#define _WIN32_WINNT 0x0400
#endif
#ifndef STRICT