diff options
Diffstat (limited to 'mach_dep.c')
-rw-r--r-- | mach_dep.c | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -103,7 +103,14 @@ # define HAVE_PUSH_REGS #else /* No asm implementation */ -# if defined(M68K) && defined(AMIGA) +# ifdef STACK_NOT_SCANNED + void GC_push_regs(void) + { + /* empty */ + } +# define HAVE_PUSH_REGS + +# elif defined(M68K) && defined(AMIGA) /* This function is not static because it could also be */ /* erroneously defined in .S file, so this error would be caught */ /* by the linker. */ @@ -181,11 +188,6 @@ } # define HAVE_PUSH_REGS # endif /* __MWERKS__ */ -# elif defined(EMSCRIPTEN) - void GC_push_regs(void) - { - } -# define HAVE_PUSH_REGS # endif /* MACOS */ #endif /* !USE_ASM_PUSH_REGS */ |