From 519b4a3ae10c96951db917f2439982c7d2391874 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 Jun 2018 13:21:52 +0200 Subject: compat/macros: rename portability macros use `cc_xx' rather than awkward synonyms. --- compat/check-visible.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'compat/check-visible.cpp') diff --git a/compat/check-visible.cpp b/compat/check-visible.cpp index 84ddd6d9..0f4c6e6d 100644 --- a/compat/check-visible.cpp +++ b/compat/check-visible.cpp @@ -15,7 +15,7 @@ static Timer timer; static QMutex mtx; static bool visible = true; -never_inline OTR_COMPAT_EXPORT +cc_noinline OTR_COMPAT_EXPORT void set_is_visible(const QWidget& w, bool force) { QMutexLocker l(&mtx); @@ -47,7 +47,7 @@ void set_is_visible(const QWidget& w, bool force) } } -never_inline OTR_COMPAT_EXPORT +cc_noinline OTR_COMPAT_EXPORT bool check_is_visible() { QMutexLocker l(&mtx); @@ -57,12 +57,12 @@ bool check_is_visible() #else -never_inline OTR_COMPAT_EXPORT +cc_noinline OTR_COMPAT_EXPORT void set_is_visible(const QWidget&, bool) { } -never_inline OTR_COMPAT_EXPORT +cc_noinline OTR_COMPAT_EXPORT bool check_is_visible() { return true; -- cgit v1.2.3