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