projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5874d24
)
Fix 'syntax error' reported by cppcheck for mach_dep
author
Ivan Maidanski
<ivmai@mail.ru>
Wed, 12 Oct 2016 19:59:22 +0000
(22:59 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Wed, 12 Oct 2016 19:59:22 +0000
(22:59 +0300)
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
patch
|
blob
|
history
diff --git
a/mach_dep.c
b/mach_dep.c
index
fbf6c43
..
7fa8774
100644
(file)
--- 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