summaryrefslogtreecommitdiffhomepage
path: root/compat/util.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-29 06:36:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-29 06:36:18 +0200
commita7df6bae0326968a886685f27a9fa8ff24befd42 (patch)
tree1da29dd62ae985e4c62fc4699a3cd4062083d325 /compat/util.hpp
parent1ba054cfc09a47fe838f487c042d3b279c3edc73 (diff)
compat: fix Linux build
Issue: #661
Diffstat (limited to 'compat/util.hpp')
-rw-r--r--compat/util.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/util.hpp b/compat/util.hpp
index 88bff96c..5ae87632 100644
--- a/compat/util.hpp
+++ b/compat/util.hpp
@@ -118,7 +118,7 @@ template<typename t> using qshared = QSharedPointer<t>;
#if defined _MSC_VER
# define force_inline __forceinline
#elif defined __GNUG__
-# define force_inline __attribute__((always_inline, gnu_inline))
+# define force_inline __attribute__((always_inline, gnu_inline)) inline
#else
# define force_inline inline
#endif