From 720e3fe815517b39164bd6d6a72b7197ba536621 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 12 Oct 2016 22:59:22 +0300 Subject: 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. --- mach_dep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mach_dep.c') 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 -- cgit v1.2.1