summaryrefslogtreecommitdiff
path: root/mach_dep.c
diff options
context:
space:
mode:
authorJonathan Chambers <jonathan@unity3d.com>2014-05-16 13:46:54 -0400
committerLucas Meijer <lucas@unity3d.com>2014-07-03 21:00:46 +0200
commit7d2905e01d7f9831353e1f034aea3692e71f96fc (patch)
tree97bb74678ea6aac9eff3a46ac345cd6689b551c1 /mach_dep.c
parent6c5a455c722172f0defcfb77aa28b2709a191e7c (diff)
downloadbdwgc-7d2905e01d7f9831353e1f034aea3692e71f96fc.tar.gz
Add support for emscripten platform
Diffstat (limited to 'mach_dep.c')
-rw-r--r--mach_dep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mach_dep.c b/mach_dep.c
index 9c95e698..a882c76d 100644
--- a/mach_dep.c
+++ b/mach_dep.c
@@ -181,6 +181,11 @@
}
# 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 */