summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/fm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/fm.c')
-rw-r--r--src/emu/sound/fm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/fm.c b/src/emu/sound/fm.c
index 8f02e1f26fd..fd45350109b 100644
--- a/src/emu/sound/fm.c
+++ b/src/emu/sound/fm.c
@@ -684,7 +684,7 @@ static INT32 LFO_PM; /* runtime LFO calculations helper */
#define LOG_LEVEL LOG_INF
#ifndef __RAINE__
-#define LOG(n,x) if( (n)>=LOG_LEVEL ) logerror x
+#define LOG(n,x) do { if( (n)>=LOG_LEVEL ) logerror x; } while (0)
#endif
/* limitter */