summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2026-09-02 20:29:47 -0700
committerGitHub <noreply@github.com>2026-09-02 20:29:47 -0700
commit486055ebec4c45f3020bfaa5d040698d6c2b85e4 (patch)
tree5c700668398323a48a9f64daabc6bd311e888a2b /include
parentc85914172bb515a8b12e7e5463ddc9305799d891 (diff)
[n64-jp-1.1] irqmgr (#1876)HEADmain
* [n64-jp-1.1] irqmgr * Remove IRQMGR_PRINTF * US is fine with the extra if 1s
Diffstat (limited to 'include')
-rw-r--r--include/macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/macros.h b/include/macros.h
index 4de67b19e..02049f241 100644
--- a/include/macros.h
+++ b/include/macros.h
@@ -93,13 +93,13 @@
#if MM_VERSION >= N64_US
#define PRINTF(args) (void)0
#else
- #define PRINTF(args) (void)(args)
+ #define PRINTF(args) do { (void)(args); } while (0)
#endif
#else
#if MM_VERSION >= N64_US
#define PRINTF(format, ...) (void)0
#else
- #define PRINTF(format, ...) (void)(format)
+ #define PRINTF(format, ...) do { (void)(format); } while (0)
#endif
#endif