From: Ivan Maidanski Date: Wed, 12 Oct 2016 19:59:22 +0000 (+0300) Subject: Fix 'syntax error' reported by cppcheck for mach_dep X-Git-Tag: v7.6.2~374 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2c1f04784a0f5d781e662079a4ae8c802e9b353;p=gc 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. --- diff --git a/mach_dep.c b/mach_dep.c index 87a896e7..d76cc635 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