Fix force_inline on gcc/clang.

This commit is contained in:
Bartosz Taudul 2018-04-21 19:22:27 +02:00
parent ade97b7ab6
commit d201be25ed

View File

@ -2,7 +2,7 @@
#define __TRACYFORCEINLINE_HPP__ #define __TRACYFORCEINLINE_HPP__
#if defined(__GNUC__) #if defined(__GNUC__)
# define tracy_force_inline __attribute__((always_inline)) # define tracy_force_inline __attribute__((always_inline)) inline
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
# define tracy_force_inline __forceinline # define tracy_force_inline __forceinline
#else #else