summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-02-01 07:11:33 -0800
committerGitHub <noreply@github.com>2024-02-01 10:11:33 -0500
commit7c5ab8fcec149bedc6bcd62505cfe4fc91d4a7a1 (patch)
tree9c834329b07b2cc862f43ab99354ef140486022c /src
parent99fd784bc27aa14c062f203b25cf58a3f9f3e3ae (diff)
Use IDO_PRINTF_WORKAROUND everywhere (#1685)
Diffstat (limited to 'src')
-rw-r--r--src/code/sched.c3
-rw-r--r--src/code/z_actor.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/code/sched.c b/src/code/sched.c
index 7f9efa076..b398f3e45 100644
--- a/src/code/sched.c
+++ b/src/code/sched.c
@@ -56,8 +56,7 @@ OSTime sRDPTimeStart;
#define SCHED_DEBUG_PRINTF \
if (sSchedDebugPrintfEnabled) \
PRINTF
-#elif defined(__sgi)
-// See comment about PRINTF in macros.h
+#elif IDO_PRINTF_WORKAROUND
#define SCHED_DEBUG_PRINTF(args) (void)0
#else
#define SCHED_DEBUG_PRINTF(format, ...) (void)0
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 4ca742749..86afb147c 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -15,8 +15,7 @@ static s32 sCurCeilingBgId;
#define ACTOR_DEBUG_PRINTF \
if (R_ENABLE_ACTOR_DEBUG_PRINTF) \
PRINTF
-#elif defined(__sgi)
-// See comment about PRINTF in macros.h
+#elif IDO_PRINTF_WORKAROUND
#define ACTOR_DEBUG_PRINTF(args) (void)0
#else
#define ACTOR_DEBUG_PRINTF(format, ...) (void)0