diff options
author | Andy Shaw <qt-info@nokia.com> | 2010-03-29 15:36:43 +0200 |
---|---|---|
committer | Andy Shaw <qt-info@nokia.com> | 2010-03-29 15:36:43 +0200 |
commit | 43e67759246cbdbe5ff337877d14b45e4f33e040 (patch) | |
tree | 3db4dbac8ceafd7462dda9f33b27c8d9003ade5d /src/gui/text/qfontengine_win.cpp | |
parent | 3c4eaebcfe56d3e372348c9b1e0a1a2d2acb5dc4 (diff) | |
download | qt4-tools-43e67759246cbdbe5ff337877d14b45e4f33e040.tar.gz |
Compile with MSVC 2005 and 2003 when no platform SDK is used
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/text/qfontengine_win.cpp')
-rw-r--r-- | src/gui/text/qfontengine_win.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/text/qfontengine_win.cpp b/src/gui/text/qfontengine_win.cpp index a133b48888..d126a2e0ad 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> |