mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
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.
This commit is contained in:
parent
86e449a699
commit
f29c300507
1 changed files with 3 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue