diff options
author | Zeno Albisser <zeno.albisser@nokia.com> | 2010-04-27 10:19:04 +0200 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@nokia.com> | 2010-04-27 11:26:19 +0200 |
commit | 0bb78b7a6e6c8d539cc4c69e4703c62cbe176bc6 (patch) | |
tree | c375679c7f36d607e8bde406ce1a41fa945a4a82 /tests/auto/qdir | |
parent | 2d1199ea9dafe31221f928a9e866893db180d1bf (diff) |
Repositioned _WIN32_WINNT define in tst_qfileinfo and tst_qdir
This define is needed to make sure that some structures used for
creating junctions and symlinks get properly defined in winioctl.h.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qdir')
-rw-r--r-- | tests/auto/qdir/tst_qdir.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp index c8c835f737..71469bbff7 100644 --- a/tests/auto/qdir/tst_qdir.cpp +++ b/tests/auto/qdir/tst_qdir.cpp @@ -49,6 +49,11 @@ #include <qregexp.h> #include <qstringlist.h> #include "../network-settings.h" + +#if defined(Q_OS_WIN) +#define _WIN32_WINNT 0x500 +#endif + #include "../../shared/filesystem.h" #if defined(Q_OS_SYMBIAN) |