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: v8.0.0~1116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=720e3fe815517b39164bd6d6a72b7197ba536621;p=platform%2Fupstream%2Flibgc.git 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 fbf6c43..7fa8774 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