From 43e67759246cbdbe5ff337877d14b45e4f33e040 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Mon, 29 Mar 2010 15:36:43 +0200 Subject: Compile with MSVC 2005 and 2003 when no platform SDK is used Reviewed-by: Eskil --- src/gui/text/qfontengine_win.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v0.12