summaryrefslogtreecommitdiff
path: root/include/f_pc
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/f_pc
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/f_pc')
-rw-r--r--include/f_pc/f_pc_debug_sv.h2
-rw-r--r--include/f_pc/f_pc_node_req.h2
-rw-r--r--include/f_pc/f_pc_stdcreate_req.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/f_pc/f_pc_debug_sv.h b/include/f_pc/f_pc_debug_sv.h
index d7c942faa5..78a1d98b3e 100644
--- a/include/f_pc/f_pc_debug_sv.h
+++ b/include/f_pc/f_pc_debug_sv.h
@@ -4,7 +4,7 @@
#include <dolphin.h>
-#ifdef DEBUG
+#if DEBUG
char* fpcDbSv_getNameString(s16 i_name);
diff --git a/include/f_pc/f_pc_node_req.h b/include/f_pc/f_pc_node_req.h
index c2058fbe8d..bc446b4c6e 100644
--- a/include/f_pc/f_pc_node_req.h
+++ b/include/f_pc/f_pc_node_req.h
@@ -36,7 +36,7 @@ typedef struct node_create_request {
/* 0x58 */ s16 name;
/* 0x5C */ void* data;
/* 0x60 */ s16 unk_0x60;
-#ifdef DEBUG
+#if DEBUG
/* 0x64 */ int unk_0x64;
/* 0x68 */ int unk_0x68;
#endif
diff --git a/include/f_pc/f_pc_stdcreate_req.h b/include/f_pc/f_pc_stdcreate_req.h
index d393afafcb..94d30ba83d 100644
--- a/include/f_pc/f_pc_stdcreate_req.h
+++ b/include/f_pc/f_pc_stdcreate_req.h
@@ -14,7 +14,7 @@ typedef struct standard_create_request_class {
/* 0x54 */ void* process_append;
/* 0x58 */ stdCreateFunc create_post_method;
/* 0x5C */ void* unk_0x5C;
-#ifdef DEBUG
+#if DEBUG
/* 0x60 */ int unk_0x60;
#endif
} standard_create_request_class;