aboutsummaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authorBossCode45 <boss@tehbox.org>2025-06-28 00:44:40 +1200
committerBossCode45 <boss@tehbox.org>2025-07-24 12:48:21 +1200
commit3e4cad0bfd36536ffc870d16a6e26aac5049dd0b (patch)
tree3f0ecd09760267a108f5d97e43d31cfb8741cf55 /src/debug.h
parent078b4e08fe3bccb7424dac76e158bf8bf48a182d (diff)
downloadtehimage-3e4cad0bfd36536ffc870d16a6e26aac5049dd0b.tar.gz
tehimage-3e4cad0bfd36536ffc870d16a6e26aac5049dd0b.zip
fixup: Updated some stuff
Mainly just cleaning up code
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h
index 356b6cb..907498b 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -1,3 +1,10 @@
#pragma once
-#define DEBUG(X)
+// Toggles global debug
+// #define ENABLE_DEBUG
+
+#ifdef ENABLE_DEBUG
+#define debug(x) (x)
+#else
+#define debug(x)
+#endif