summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdir/tst_qdir.cpp
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-04-27 08:19:04 (GMT)
committerZeno Albisser <zeno.albisser@nokia.com>2010-04-27 09:26:19 (GMT)
commit0bb78b7a6e6c8d539cc4c69e4703c62cbe176bc6 (patch)
treec375679c7f36d607e8bde406ce1a41fa945a4a82 /tests/auto/qdir/tst_qdir.cpp
parent2d1199ea9dafe31221f928a9e866893db180d1bf (diff)
downloadQt-0bb78b7a6e6c8d539cc4c69e4703c62cbe176bc6.zip
Qt-0bb78b7a6e6c8d539cc4c69e4703c62cbe176bc6.tar.gz
Qt-0bb78b7a6e6c8d539cc4c69e4703c62cbe176bc6.tar.bz2
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/tst_qdir.cpp')
-rw-r--r--tests/auto/qdir/tst_qdir.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp
index c8c835f..71469bb 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)