mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Fix force_inline on gcc/clang.
This commit is contained in:
parent
ade97b7ab6
commit
d201be25ed
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user