summaryrefslogtreecommitdiff
path: root/mach_dep.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2016-10-12 22:59:22 +0300
committerIvan Maidanski <ivmai@mail.ru>2016-10-12 22:59:22 +0300
commit720e3fe815517b39164bd6d6a72b7197ba536621 (patch)
tree66d92342143b2bdad2da8ef7c98f30dfc2bb5400 /mach_dep.c
parent5874d2435621fe36322bcb9cf3288c3cd1a97388 (diff)
downloadbdwgc-720e3fe815517b39164bd6d6a72b7197ba536621.tar.gz
Fix 'syntax error' reported by cppcheck for mach_dep
The error is reported at line containing "asm". * mach_dep.c [MACOS && M68K && THINK_C] (GC_push_regs): Do not define if CPPCHECK.
Diffstat (limited to 'mach_dep.c')
-rw-r--r--mach_dep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mach_dep.c b/mach_dep.c
index fbf6c43d..7fa87741 100644
--- a/mach_dep.c
+++ b/mach_dep.c
@@ -158,7 +158,7 @@
# elif defined(MACOS)
-# if defined(M68K) && defined(THINK_C)
+# if defined(M68K) && defined(THINK_C) && !defined(CPPCHECK)
# define PushMacReg(reg) \
move.l reg,(sp) \
jsr GC_push_one