mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Add no inline specifier.
This commit is contained in:
parent
a309e71fe1
commit
70ac7d3223
@ -9,4 +9,12 @@
|
||||
# define tracy_force_inline inline
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user