summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-21 02:03:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-21 02:03:07 +0200
commit0b2d3cff4d44656aac6001ef7bfecc94f91bdc57 (patch)
treef565cb6104e2c13b3544c0f37ab099353ced53fb /compat
parentd6fd7106f23bf1442be8427efa6ca2d611bccf75 (diff)
compat/util: rename macro
Diffstat (limited to 'compat')
-rw-r--r--compat/util.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/util.hpp b/compat/util.hpp
index 88bff96c..2b36369c 100644
--- a/compat/util.hpp
+++ b/compat/util.hpp
@@ -116,11 +116,11 @@ template<typename t> using qshared = QSharedPointer<t>;
#endif
#if defined _MSC_VER
-# define force_inline __forceinline
+# define always_inline __forceinline
#elif defined __GNUG__
-# define force_inline __attribute__((always_inline, gnu_inline))
+# define always_inline __attribute__((always_inline, gnu_inline))
#else
-# define force_inline inline
+# define always_inline inline
#endif
#if defined __GNUG__