summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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