diff options
author | João Abecasis <joao@abecasis.name> | 2010-12-04 19:31:06 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2010-12-04 19:31:06 (GMT) |
commit | 72db8d3075f91cac831de590dd6748c6bbc9a52f (patch) | |
tree | 0d12e446b4fdd46fdfbf4855fcdd414ad5189723 /src | |
parent | 684a61aa3da00b04f44eea0e92dbcb6183f505bf (diff) | |
download | Qt-72db8d3075f91cac831de590dd6748c6bbc9a52f.zip Qt-72db8d3075f91cac831de590dd6748c6bbc9a52f.tar.gz Qt-72db8d3075f91cac831de590dd6748c6bbc9a52f.tar.bz2 |
Set minimum target Windows version to 2000
Required for FindFirstFileEx.
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qfilesystemiterator_win.cpp | 4 | ||||
-rw-r--r-- | src/corelib/io/qfilesystemmetadata_p.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/io/qfilesystemiterator_win.cpp b/src/corelib/io/qfilesystemiterator_win.cpp index 095a46a..96c7fdb 100644 --- a/src/corelib/io/qfilesystemiterator_win.cpp +++ b/src/corelib/io/qfilesystemiterator_win.cpp @@ -43,6 +43,10 @@ #include "qfilesystemengine_p.h" #include "qplatformdefs.h" +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x0500 +#endif + #include <QtCore/qt_windows.h> QT_BEGIN_NAMESPACE diff --git a/src/corelib/io/qfilesystemmetadata_p.h b/src/corelib/io/qfilesystemmetadata_p.h index 50c1b61..03bb7f6 100644 --- a/src/corelib/io/qfilesystemmetadata_p.h +++ b/src/corelib/io/qfilesystemmetadata_p.h @@ -60,6 +60,10 @@ // Platform-specific includes #if defined(Q_OS_WIN) +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x0500 +#endif + #include <QtCore/qt_windows.h> #elif defined(Q_OS_SYMBIAN) #include <f32file.h> |