mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Import patches for old macOS from MacPorts
This commit is contained in:
parent
80e483afac
commit
8350b48cfa
Notes:
git
2024-09-26 02:02:15 +00:00
5 changed files with 32 additions and 6 deletions
3
signal.c
3
signal.c
|
@ -803,7 +803,8 @@ check_stack_overflow(int sig, const uintptr_t addr, const ucontext_t *ctx)
|
|||
const greg_t bp = mctx->gregs[REG_EBP];
|
||||
# endif
|
||||
# elif defined __APPLE__
|
||||
# if __DARWIN_UNIX03
|
||||
# include <AvailabilityMacros.h>
|
||||
# if defined(MAC_OS_X_VERSION_10_5) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
|
||||
# define MCTX_SS_REG(reg) __ss.__##reg
|
||||
# else
|
||||
# define MCTX_SS_REG(reg) ss.reg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue