Merge pull request #511 from nagisa/tracy-fiber-binding-ifdef

move ___tracy_fiber* declarations to under ifdef
This commit is contained in:
Bartosz Taudul 2023-01-19 00:59:16 +01:00 committed by GitHub
commit baaed68bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -341,10 +341,10 @@ TRACY_API void ___tracy_emit_message_appinfo( const char* txt, size_t size );
#define TracyCIsConnected ___tracy_connected()
#ifdef TRACY_FIBERS
TRACY_API void ___tracy_fiber_enter( const char* fiber );
TRACY_API void ___tracy_fiber_leave( void );
#ifdef TRACY_FIBERS
# define TracyCFiberEnter( fiber ) ___tracy_fiber_enter( fiber );
# define TracyCFiberLeave ___tracy_fiber_leave();
#endif