summaryrefslogtreecommitdiffstats
path: root/mkspecs/win32-g++
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-14 07:27:10 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-14 08:33:21 (GMT)
commit503c48853eefe547631c425e9acad810b76e61fe (patch)
tree5392090596f9f1075e576854d3a8fa065a367ef6 /mkspecs/win32-g++
parentf23fa541a04abd1ddc36815a285ec824d5b5c5e0 (diff)
downloadQt-503c48853eefe547631c425e9acad810b76e61fe.zip
Qt-503c48853eefe547631c425e9acad810b76e61fe.tar.gz
Qt-503c48853eefe547631c425e9acad810b76e61fe.tar.bz2
Build fix for mingw
we should include qt_windows.h and not windows.h because we have to define WINVER to 0x500.
Diffstat (limited to 'mkspecs/win32-g++')
-rw-r--r--mkspecs/win32-g++/qplatformdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/win32-g++/qplatformdefs.h b/mkspecs/win32-g++/qplatformdefs.h
index c4ee4b4..97c63f5 100644
--- a/mkspecs/win32-g++/qplatformdefs.h
+++ b/mkspecs/win32-g++/qplatformdefs.h
@@ -60,7 +60,7 @@
#include <errno.h>
#include <sys/stat.h>
#include <stdlib.h>
-#include <windows.h>
+#include <qt_windows.h>
#include <limits.h>
#if !defined(_WIN32_WINNT) || (_WIN32_WINNT-0 < 0x0500)