summaryrefslogtreecommitdiffstats
path: root/src/core/timebars.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-10-25 16:17:30 +0100
committeraap <aap@papnet.eu>2020-10-25 16:17:30 +0100
commite3a1041a471aaaa3d906caeb23d1d334071978b2 (patch)
tree26c28ac72597af9ffec486f6b02bb9e38ad99d60 /src/core/timebars.h
parentRemove redundant includes (diff)
downloadre3-e3a1041a471aaaa3d906caeb23d1d334071978b2.tar
re3-e3a1041a471aaaa3d906caeb23d1d334071978b2.tar.gz
re3-e3a1041a471aaaa3d906caeb23d1d334071978b2.tar.bz2
re3-e3a1041a471aaaa3d906caeb23d1d334071978b2.tar.lz
re3-e3a1041a471aaaa3d906caeb23d1d334071978b2.tar.xz
re3-e3a1041a471aaaa3d906caeb23d1d334071978b2.tar.zst
re3-e3a1041a471aaaa3d906caeb23d1d334071978b2.zip
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