summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <qt-info@nokia.com>2010-03-29 13:36:43 (GMT)
committerAndy Shaw <qt-info@nokia.com>2010-03-29 13:36:43 (GMT)
commit43e67759246cbdbe5ff337877d14b45e4f33e040 (patch)
tree3db4dbac8ceafd7462dda9f33b27c8d9003ade5d
parent3c4eaebcfe56d3e372348c9b1e0a1a2d2acb5dc4 (diff)
downloadQt-43e67759246cbdbe5ff337877d14b45e4f33e040.zip
Qt-43e67759246cbdbe5ff337877d14b45e4f33e040.tar.gz
Qt-43e67759246cbdbe5ff337877d14b45e4f33e040.tar.bz2
Compile with MSVC 2005 and 2003 when no platform SDK is used
Reviewed-by: Eskil
-rw-r--r--src/gui/text/qfontengine_win.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/text/qfontengine_win.cpp b/src/gui/text/qfontengine_win.cpp
index a133b48..d126a2e 100644
--- a/src/gui/text/qfontengine_win.cpp
+++ b/src/gui/text/qfontengine_win.cpp
@@ -39,6 +39,11 @@
**
****************************************************************************/
+#if _WIN32_WINNT < 0x0500
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x0500
+#endif
+
#include "qfontengine_p.h"
#include "qtextengine_p.h"
#include <qglobal.h>