summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-21 14:27:47 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-21 14:28:29 (GMT)
commite5fe8b49b08a6e749bde8581d9267ddafa7c9990 (patch)
tree351a453ba0bd5c4fd4b652ec2fd8e1adb414b867 /src/corelib/io
parent71a8a5c97315c114d55190594a7175552bfd41a6 (diff)
downloadQt-e5fe8b49b08a6e749bde8581d9267ddafa7c9990.zip
Qt-e5fe8b49b08a6e749bde8581d9267ddafa7c9990.tar.gz
Qt-e5fe8b49b08a6e749bde8581d9267ddafa7c9990.tar.bz2
QFSFileEngine compile fix for Windows with VS2005
Reviewed-by: TrustMe
Diffstat (limited to 'src/corelib/io')
-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 81d365a..9ab4793 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,