Add debug print macros.

This commit is contained in:
Bartosz Taudul 2021-05-21 01:47:31 +02:00
parent 4d668741eb
commit afcebb6e6a
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

11
client/TracyDebug.hpp Normal file
View File

@ -0,0 +1,11 @@
#ifndef __TRACYPRINT_HPP__
#define __TRACYPRINT_HPP__
#ifdef TRACY_VERBOSE
# include <stdio.h>
# define TracyDebug(...) fprintf( stderr, __VA_ARGS__ );
#else
# define TracyDebug(...)
#endif
#endif