mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Merge pull request #511 from nagisa/tracy-fiber-binding-ifdef
move ___tracy_fiber* declarations to under ifdef
This commit is contained in:
commit
baaed68bcf
@ -341,10 +341,10 @@ TRACY_API void ___tracy_emit_message_appinfo( const char* txt, size_t size );
|
|||||||
|
|
||||||
#define TracyCIsConnected ___tracy_connected()
|
#define TracyCIsConnected ___tracy_connected()
|
||||||
|
|
||||||
|
#ifdef TRACY_FIBERS
|
||||||
TRACY_API void ___tracy_fiber_enter( const char* fiber );
|
TRACY_API void ___tracy_fiber_enter( const char* fiber );
|
||||||
TRACY_API void ___tracy_fiber_leave( void );
|
TRACY_API void ___tracy_fiber_leave( void );
|
||||||
|
|
||||||
#ifdef TRACY_FIBERS
|
|
||||||
# define TracyCFiberEnter( fiber ) ___tracy_fiber_enter( fiber );
|
# define TracyCFiberEnter( fiber ) ___tracy_fiber_enter( fiber );
|
||||||
# define TracyCFiberLeave ___tracy_fiber_leave();
|
# define TracyCFiberLeave ___tracy_fiber_leave();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user