From afcebb6e6a98764374dbb064937df8f5e7451c04 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 21 May 2021 01:47:31 +0200 Subject: [PATCH] Add debug print macros. --- client/TracyDebug.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 client/TracyDebug.hpp diff --git a/client/TracyDebug.hpp b/client/TracyDebug.hpp new file mode 100644 index 00000000..8723356f --- /dev/null +++ b/client/TracyDebug.hpp @@ -0,0 +1,11 @@ +#ifndef __TRACYPRINT_HPP__ +#define __TRACYPRINT_HPP__ + +#ifdef TRACY_VERBOSE +# include +# define TracyDebug(...) fprintf( stderr, __VA_ARGS__ ); +#else +# define TracyDebug(...) +#endif + +#endif