-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prefer ucontext.h over sys/ucontext.h #46790
Prefer ucontext.h over sys/ucontext.h #46790
Conversation
cc @janvorli |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
add_definitions(-DUNW_REMOTE_ONLY) | ||
add_definitions(-D__APPLE__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for noticing this extra definition of __APPLE__
@janvorli, if there are no other feedback, could this be merged? |
I am sorry for the delay, I haven't noticed that the CI was green. I should start setting auto-merge on PRs that I approve. |
The header
ucontext.h
includessys/ucontext.h
on Linux, macOS and illumos with some additional defines and register handling. Vice-versa is true on FreeBSD.