diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-22 13:21:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 23:01:53 +0200 |
commit | 519b4a3ae10c96951db917f2439982c7d2391874 (patch) | |
tree | ec55d8a12fa740803e6da2074eec04f465e98ede /compat/check-visible.cpp | |
parent | 0f182b791622ad4491c8aabf8edce21a63839bdc (diff) |
compat/macros: rename portability macros
use `cc_xx' rather than awkward synonyms.
Diffstat (limited to 'compat/check-visible.cpp')
-rw-r--r-- | compat/check-visible.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |