vcl/headless/svpinst.cxx | 2 ++ vcl/inc/headless/svpinst.hxx | 2 ++ 2 files changed, 4 insertions(+)
New commits: commit 629f9ff63bf3a1e16ed38a737a7fdd074b9c0ca7 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Mon Oct 29 22:04:19 2018 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Tue Oct 30 00:20:59 2018 +0200 m_FeedbackFDs is unused on iOS I wonder why we have that iOS ifdef in SvpSalInstance::Wakeup()? Elsewhere in this file we do compile code that uses those same fields for iOS, too. Change-Id: Ib801ea81fafcf2296181874018c1df2ceef144a1 diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index a711d693f00e..25e15ca9961a 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -298,7 +298,9 @@ void SvpSalInstance::ProcessEvent( SalUserEvent aEvent ) SvpSalYieldMutex::SvpSalYieldMutex() { +#ifndef IOS m_FeedbackFDs[0] = m_FeedbackFDs[1] = -1; +#endif } SvpSalYieldMutex::~SvpSalYieldMutex() diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx index 7c2b5efce593..4793d8e463d5 100644 --- a/vcl/inc/headless/svpinst.hxx +++ b/vcl/inc/headless/svpinst.hxx @@ -73,7 +73,9 @@ private: // at least one subclass of SvpSalInstance (GTK3) that doesn't use them. friend class SvpSalInstance; // members for communication from main thread to non-main thread +#ifndef IOS int m_FeedbackFDs[2]; +#endif osl::Condition m_NonMainWaitingYieldCond; // members for communication from non-main thread to main thread bool m_bNoYieldLock = false; // accessed only on main thread _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits