summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qyieldcpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qyieldcpu.h')
-rw-r--r--src/corelib/thread/qyieldcpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/thread/qyieldcpu.h b/src/corelib/thread/qyieldcpu.h
index c30374f005a..310f2cacc5a 100644
--- a/src/corelib/thread/qyieldcpu.h
+++ b/src/corelib/thread/qyieldcpu.h
@@ -21,10 +21,11 @@ void _mm_pause(void); // the compiler recognizes as intrinsic
QT_BEGIN_NAMESPACE
+Q_ALWAYS_INLINE
#ifdef Q_CC_GNU
__attribute__((artificial))
#endif
-Q_ALWAYS_INLINE void qYieldCpu(void) Q_DECL_NOEXCEPT;
+void qYieldCpu(void) Q_DECL_NOEXCEPT;
void qYieldCpu(void)
#ifdef __cplusplus