summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-10-13 00:52:16 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-10-13 00:52:16 (GMT)
commita311b854e0886f0498c068af5b489af36a96b845 (patch)
treeb4a5d8012e655bba948bd51da1e7eda5477e8751 /src/declarative/qml/qdeclarativeengine.cpp
parentff41e5c637a522ce596a2f1bf5a6d8d242828c27 (diff)
downloadQt-a311b854e0886f0498c068af5b489af36a96b845.zip
Qt-a311b854e0886f0498c068af5b489af36a96b845.tar.gz
Qt-a311b854e0886f0498c068af5b489af36a96b845.tar.bz2
Compile on WinCE
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index ec583f9..8e1416e 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -2193,14 +2193,14 @@ const QMetaObject *QDeclarativeEnginePrivate::metaObjectForType(int t) const
bool QDeclarative_isFileCaseCorrect(const QString &fileName)
{
-#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
+#if defined(Q_OS_MAC) || defined(Q_OS_WIN32)
QFileInfo info(fileName);
QString absolute = info.absoluteFilePath();
#if defined(Q_OS_MAC)
QString canonical = info.canonicalFilePath();
-#elif defined(Q_OS_WIN)
+#elif defined(Q_OS_WIN32)
wchar_t buffer[1024];
DWORD rv = ::GetLongPathName((wchar_t*)absolute.utf16(), buffer, 1024);