diff options
author | Zoltan Varga <vargaz@gmail.com> | 2005-04-11 18:12:45 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2005-04-11 18:12:45 +0400 |
commit | 82ae7ea35190f9c9e2dd4ee5f468ec448f301900 (patch) | |
tree | b89196c4de7480927a3f6b9fbc5266a11b30aad3 /libgc/os_dep.c | |
parent | af6d47c951fce262cf1e6e56605629e7467f71f4 (diff) |
2005-04-11 Zoltan Varga <vargaz@freemail.hu>
* include/private/gcconfig.h configure.in os_dep.c dyn_load.c:
Applied some freebsd patch from Bill Middleton <flashdict@gmail.com>.
svn path=/trunk/mono/; revision=42786
Diffstat (limited to 'libgc/os_dep.c')
-rw-r--r-- | libgc/os_dep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libgc/os_dep.c b/libgc/os_dep.c index 83f468e89ed..5c2bf165102 100644 --- a/libgc/os_dep.c +++ b/libgc/os_dep.c @@ -702,10 +702,10 @@ ptr_t GC_get_stack_base() # endif # if defined(SUNOS5SIGS) || defined(IRIX5) || defined(OSF1) \ - || defined(HURD) || defined(NETBSD) + || defined(HURD) || defined(NETBSD) || defined(FREEBSD) static struct sigaction old_segv_act; # if defined(_sigargs) /* !Irix6.x */ || defined(HPUX) \ - || defined(HURD) || defined(NETBSD) + || defined(HURD) || defined(NETBSD) || defined(FREEBSD) static struct sigaction old_bus_act; # endif # else @@ -720,7 +720,7 @@ ptr_t GC_get_stack_base() # endif { # if defined(SUNOS5SIGS) || defined(IRIX5) \ - || defined(OSF1) || defined(HURD) || defined(NETBSD) + || defined(OSF1) || defined(HURD) || defined(NETBSD) || defined(FREEBSD) struct sigaction act; act.sa_handler = h; @@ -740,7 +740,7 @@ ptr_t GC_get_stack_base() # else (void) sigaction(SIGSEGV, &act, &old_segv_act); # if defined(IRIX5) && defined(_sigargs) /* Irix 5.x, not 6.x */ \ - || defined(HPUX) || defined(HURD) || defined(NETBSD) + || defined(HPUX) || defined(HURD) || defined(NETBSD) || defined(FREEBSD) /* Under Irix 5.x or HP/UX, we may get SIGBUS. */ /* Pthreads doesn't exist under Irix 5.x, so we */ /* don't have to worry in the threads case. */ @@ -776,10 +776,10 @@ ptr_t GC_get_stack_base() void GC_reset_fault_handler() { # if defined(SUNOS5SIGS) || defined(IRIX5) \ - || defined(OSF1) || defined(HURD) || defined(NETBSD) + || defined(OSF1) || defined(HURD) || defined(NETBSD) || defined(FREEBSD) (void) sigaction(SIGSEGV, &old_segv_act, 0); # if defined(IRIX5) && defined(_sigargs) /* Irix 5.x, not 6.x */ \ - || defined(HPUX) || defined(HURD) || defined(NETBSD) + || defined(HPUX) || defined(HURD) || defined(NETBSD) || defined(FREEBSD) (void) sigaction(SIGBUS, &old_bus_act, 0); # endif # else |