Skip to content
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

compat: do not rely on signal.h on PSP #18

Open
wants to merge 1 commit into
base: master-with-github-ci
Choose a base branch
from

Conversation

sharkwouter
Copy link

The previous pull request I made, makes it possible to build for the Playstation Portable (PSP), which can be found here: #17

This small change finishes the work needed to make libmpg123 work on the PSP. I tested it using SDL2_Mixer and it works flawlessly from what I can tell.

Copy link

The mpg123-devel mailing list has been notified of the existence of this pr.

@sobukus
Copy link
Collaborator

sobukus commented Jan 18, 2025

So this is only about the mere presence of the signal handling function? You are only building the libraries, right?

Seems like splitting out this part of compat.c really makes sense. Also, the logic guarding use of that function doesn't match that of definition. That probably should be fixed, too.

@sharkwouter
Copy link
Author

Yeah I'm only building the libraries. If a file has functions like sigaction in it you'll get linking errors, because we don't have those, despite sys/signal.h existing.

Alternatively I could also set NO_CATCHSIGNAL for the PSP in CMake if that is preferred, but that variable is not set for any platform it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants