summaryrefslogtreecommitdiff
path: root/include/m_Do
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-12-06 16:34:47 -0500
committerGitHub <noreply@github.com>2025-12-06 13:34:47 -0800
commita30e617e5a9b8264053788429a587ee1763eae73 (patch)
treed4f3dbf04e754e5741ba35b1ba1083851be87597 /include/m_Do
parent9f1a6488512209cc1acc612aa390e9a4686037ca (diff)
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code
Diffstat (limited to 'include/m_Do')
-rw-r--r--include/m_Do/m_Do_hostIO.h4
-rw-r--r--include/m_Do/m_Do_main.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/m_Do/m_Do_hostIO.h b/include/m_Do/m_Do_hostIO.h
index f8b9519db4..7eecfbb87e 100644
--- a/include/m_Do/m_Do_hostIO.h
+++ b/include/m_Do/m_Do_hostIO.h
@@ -26,7 +26,7 @@ public:
class mDoHIO_entry_c : public JORReflexible {
public:
-#ifdef DEBUG
+#if DEBUG
mDoHIO_entry_c();
void entryHIO(const char* i_name);
void removeHIO();
@@ -73,7 +73,7 @@ void mDoHIO_updateChild(s8 i_no);
void mDoHIO_deleteChild(s8 i_no);
s8 mDoHIO_createChild(const char*, JORReflexible*);
-#ifdef DEBUG
+#if DEBUG
#define mDoHIO_CREATE_CHILD(i_name, i_node) mDoHIO_createChild(i_name, i_node)
#define mDoHIO_DELETE_CHILD(i_no) mDoHIO_deleteChild(i_no)
#else
diff --git a/include/m_Do/m_Do_main.h b/include/m_Do/m_Do_main.h
index f005c5c9d7..1229687094 100644
--- a/include/m_Do/m_Do_main.h
+++ b/include/m_Do/m_Do_main.h
@@ -62,7 +62,7 @@ private:
};
struct mDoMain {
-#ifdef DEBUG
+#if DEBUG
static int argument;
static int e3menu_no;
static u32 archiveHeapSize;