summaryrefslogtreecommitdiff
path: root/mach_dep.c
diff options
context:
space:
mode:
Diffstat (limited to 'mach_dep.c')
-rw-r--r--mach_dep.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/mach_dep.c b/mach_dep.c
index a882c76d..29e0b8a7 100644
--- a/mach_dep.c
+++ b/mach_dep.c
@@ -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 */