Skip to content

Commit

Permalink
Set minimum target Windows version to 2000
Browse files Browse the repository at this point in the history
Required for FindFirstFileEx.
  • Loading branch information
biochimia committed Dec 4, 2010
1 parent 684a61a commit 72db8d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/corelib/io/qfilesystemiterator_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/corelib/io/qfilesystemmetadata_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 72db8d3

Please sign in to comment.