summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-24 03:25:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-24 03:25:23 +0200
commit3cce7d15e534a865c7633356e59adb5a4aba8506 (patch)
treeb888caab82f7762315720ed2c642e6ae0d13cfe9
parent381ad545a0769f8ab1d373c3c3da74c73d170b61 (diff)
compat/util: fix recursive macro definition
-rw-r--r--compat/util.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/util.hpp b/compat/util.hpp
index 2b36369c..88bff96c 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 always_inline __forceinline
+# define force_inline __forceinline
#elif defined __GNUG__
-# define always_inline __attribute__((always_inline, gnu_inline))
+# define force_inline __attribute__((always_inline, gnu_inline))
#else
-# define always_inline inline
+# define force_inline inline
#endif
#if defined __GNUG__