diff options
author | Andy Wingo <wingo@pobox.com> | 2011-07-25 18:24:54 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-07-25 18:25:14 +0200 |
commit | f29c300507da21a667f5b82e75300f8009eab9cc (patch) | |
tree | 8c572b648d9042ebb4293f460f6c6addce87d692 /libguile/scmsigs.c | |
parent | 86e449a69987ecb943b11198e065bbb22526f8c5 (diff) | |
download | guile-f29c300507da21a667f5b82e75300f8009eab9cc.tar.gz |
fix GC_get_suspend_signal on Mac OS
* libguile/scmsigs.c (GC_get_suspend_signal): Fix the back-compatibility
shim for this function to work on some other cases; I hadn't realized
that gcconfig.h could set SIG_SUSPEND. Thanks to Aleix Conchillo
FlaquƩ for the report.
Diffstat (limited to 'libguile/scmsigs.c')
-rw-r--r-- | libguile/scmsigs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c index c324aaa0f..86fce0fe7 100644 --- a/libguile/scmsigs.c +++ b/libguile/scmsigs.c @@ -164,8 +164,10 @@ GC_get_suspend_signal (void) return _SIGRTMIN + 6; #elif defined SIGRTMIN return SIGRTMIN + 6; +#elif defined __GLIBC__ + return 32+6; #else -#error what suspend signal to use? + return SIGUSR1; #endif } #endif /* HAVE_GC_GET_SUSPEND_SIGNAL */ |