From bdcd636dcbf8a69579aacc2a468d4452ba41d077 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 27 Aug 2014 11:34:52 -0700 Subject: 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 --- src/corelib/kernel/qfunctions_winrt.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/corelib/kernel/qfunctions_winrt.h') 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 +#ifdef Q_OS_WIN + #include #include #include @@ -213,4 +215,6 @@ static inline HRESULT await(const Microsoft::WRL::ComPtr &asyncOp, U *results } // QWinRTFunctions +#endif // Q_OS_WIN + #endif // QFUNCTIONS_WINRT_H -- cgit v1.2.3