diff options
-rw-r--r-- | compat/util.hpp | 6 |
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__ |