Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivmai <ivmai>2011-04-24 10:37:23 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:58 +0400
commitc1cac9e179a5ea2e7cbb8b9b71a1ea46ebd3b3da (patch)
treebe8cd0503cc541da29e90477826c20a6c2725f9b /mach_dep.c
parent6b2796b69a46e9e9bfcbe0f7c53f87b43d1779cd (diff)
2011-04-24 Ivan Maidanski <ivmai@mail.ru>
* mach_dep.c (NO_GETCONTEXT): Move to gcconfig.h. * os_dep.c (GC_write_fault_handler): Don't include ucontext.h if NO_GETCONTEXT. * include/private/gcconfig.h (GETPAGESIZE): Define as a sysconf call for Android.
Diffstat (limited to 'mach_dep.c')
-rw-r--r--mach_dep.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mach_dep.c b/mach_dep.c
index 416dec8a..19e688dd 100644
--- a/mach_dep.c
+++ b/mach_dep.c
@@ -171,14 +171,6 @@ asm static void PushMacRegisters()
# undef HAVE_PUSH_REGS
#endif
-#if ((defined(UNIX_LIKE) && (defined(DARWIN) || defined(HURD) \
- || defined(OPENBSD) || defined(ARM32) \
- || defined(MIPS) || defined(AVR32))) \
- || (defined(LINUX) && defined(SPARC)) \
- || (defined(RTEMS) && defined(I386))) && !defined(NO_GETCONTEXT)
-# define NO_GETCONTEXT
-#endif
-
#if !defined(HAVE_PUSH_REGS) && defined(UNIX_LIKE)
# include <signal.h>
# ifndef NO_GETCONTEXT