diff options
author | João Abecasis <joao@abecasis.name> | 2010-12-05 02:05:40 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2010-12-05 02:05:40 (GMT) |
commit | 364e9d4ff5056f36fbff436ba9539a69ae45c5d7 (patch) | |
tree | 4d5f4879421c6a74b66b7190841074f4fc29bb66 /src | |
parent | e37ca76dc70269017eaa7a32c4fae97c9e153ca0 (diff) | |
download | Qt-364e9d4ff5056f36fbff436ba9539a69ae45c5d7.zip Qt-364e9d4ff5056f36fbff436ba9539a69ae45c5d7.tar.gz Qt-364e9d4ff5056f36fbff436ba9539a69ae45c5d7.tar.bz2 |
Define _WIN32_WINNT before any includes
... to ensure it's properly defined before <windows.h> is ever included.
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qfilesystemiterator_win.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/io/qfilesystemiterator_win.cpp b/src/corelib/io/qfilesystemiterator_win.cpp index 6608a9e..b5fce12 100644 --- a/src/corelib/io/qfilesystemiterator_win.cpp +++ b/src/corelib/io/qfilesystemiterator_win.cpp @@ -39,15 +39,15 @@ ** ****************************************************************************/ -#include "qfilesystemiterator_p.h" -#include "qfilesystemengine_p.h" -#include "qplatformdefs.h" - #if _WIN32_WINNT < 0x0500 #undef _WIN32_WINNT #define _WIN32_WINNT 0x0500 #endif +#include "qfilesystemiterator_p.h" +#include "qfilesystemengine_p.h" +#include "qplatformdefs.h" + #include <QtCore/qt_windows.h> QT_BEGIN_NAMESPACE |