summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qfunctions_winrt.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-08-27 11:34:52 -0700
committerThiago Macieira <thiago.macieira@intel.com>2014-08-30 22:20:35 +0200
commitbdcd636dcbf8a69579aacc2a468d4452ba41d077 (patch)
tree5cc04c19849cdaa1bb43a9d2231f3527346589ca /src/corelib/kernel/qfunctions_winrt.h
parent694aae792341e150df4dcb88ae871623d16c1423 (diff)
Fix headercheck failure introduced by 67c83f329e7fb6fbf5d8e402f42
That commit exposed part of qfunctions_winrt.h for non-WinRT use (Windows 8) without wrapping with Q_OS_WIN. That meant the headercheck pass failed to compile when outside of Windows. Change-Id: Ie731cce21e5102f5e5879b147b7738a7d0a91ecd Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/corelib/kernel/qfunctions_winrt.h')
-rw-r--r--src/corelib/kernel/qfunctions_winrt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/kernel/qfunctions_winrt.h b/src/corelib/kernel/qfunctions_winrt.h
index c43e8bc902..b585d3c352 100644
--- a/src/corelib/kernel/qfunctions_winrt.h
+++ b/src/corelib/kernel/qfunctions_winrt.h
@@ -44,6 +44,8 @@
#include <QtCore/qglobal.h>
+#ifdef Q_OS_WIN
+
#include <QtCore/QThread>
#include <QtCore/QAbstractEventDispatcher>
#include <QtCore/qt_windows.h>
@@ -213,4 +215,6 @@ static inline HRESULT await(const Microsoft::WRL::ComPtr<T> &asyncOp, U *results
} // QWinRTFunctions
+#endif // Q_OS_WIN
+
#endif // QFUNCTIONS_WINRT_H