Add no inline specifier.

This commit is contained in:
Bartosz Taudul 2017-11-19 17:15:09 +01:00
parent a309e71fe1
commit 70ac7d3223

View File

@ -9,4 +9,12 @@
# define tracy_force_inline inline # define tracy_force_inline inline
#endif #endif
#if defined(__GNUC__)
# define tracy_no_inline __attribute__((noinline))
#elif defined(_MSC_VER)
# define tracy_no_inline __declspec(noinline)
#else
# define tracy_no_inline
#endif
#endif #endif