summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-08-21 14:31:12 (GMT)
committeraxis <qt-info@nokia.com>2009-08-21 14:31:12 (GMT)
commit8bee3c3710a0133b26f8a681f5af23f4679200b0 (patch)
tree6753bc56aa55603c3256c5f54bee2a7b34c04f3c
parente190e700d707c3000f813c106c27d8f5aeda44d0 (diff)
parente5fe8b49b08a6e749bde8581d9267ddafa7c9990 (diff)
downloadQt-8bee3c3710a0133b26f8a681f5af23f4679200b0.zip
Qt-8bee3c3710a0133b26f8a681f5af23f4679200b0.tar.gz
Qt-8bee3c3710a0133b26f8a681f5af23f4679200b0.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
-rw-r--r--src/corelib/io/qfsfileengine_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp
index 1fabc94..8be0dbc 100644
--- a/src/corelib/io/qfsfileengine_win.cpp
+++ b/src/corelib/io/qfsfileengine_win.cpp
@@ -1252,7 +1252,7 @@ bool QFSFileEnginePrivate::doStat() const
static QString readSymLink(const QString &link)
{
QString result;
-#if !defined(Q_OS_WINCE)
+#if !defined(Q_OS_WINCE) && defined(FSCTL_GET_REPARSE_POINT) && defined(IO_REPARSE_TAG_MOUNT_POINT)
HANDLE handle = CreateFile((wchar_t*)QFSFileEnginePrivate::longFileName(link).utf16(),
FILE_READ_EA,
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,