summaryrefslogtreecommitdiffstats
path: root/src/core/timebars.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/timebars.h')
-rw-r--r--src/core/timebars.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/timebars.h b/src/core/timebars.h
index 3871b61c..c4939802 100644
--- a/src/core/timebars.h
+++ b/src/core/timebars.h
@@ -1,6 +1,13 @@
#pragma once
+#ifdef TIMEBARS
void tbInit();
void tbStartTimer(int32, Const char*);
void tbEndTimer(Const char*);
-void tbDisplay(); \ No newline at end of file
+void tbDisplay();
+#else
+#define tbInit()
+#define tbStartTimer(a, b)
+#define tbEndTimer(a)
+#define tbDisplay()
+#endif