glu: Fix build on mingw-w64.
This commit is contained in:
parent
99a8150a1a
commit
15465949e0
|
@ -40,7 +40,13 @@
|
||||||
#define NOIME
|
#define NOIME
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
|
|
||||||
|
#ifdef __MINGW64_VERSION_MAJOR
|
||||||
|
#undef _WIN32_WINNT
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32_WINNT
|
#ifndef _WIN32_WINNT
|
||||||
|
/* XXX: Workaround a bug in mingw-w64's headers when NOGDI is set and
|
||||||
|
* _WIN32_WINNT >= 0x0600 */
|
||||||
#define _WIN32_WINNT 0x0400
|
#define _WIN32_WINNT 0x0400
|
||||||
#endif
|
#endif
|
||||||
#ifndef STRICT
|
#ifndef STRICT
|
||||||
|
|
Loading…
Reference in New Issue