Skip to content

Small fixes to compile for 3DS homebrew #1673

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

CrackedP0t
Copy link

@CrackedP0t CrackedP0t commented May 25, 2025

Hello! I'm using Flecs to make a game for the Devkitpro 3DS homebrew SDK, and I made two fixes for it to compile. The SDK doesn't have execinfo, so I made it only be included on Linux and not POSIX environments. Devkitpro also defines int32_t as long int rather than int and there was a declaration that used both, so I made that consistent as well.

I know that 3DS homebrew probably isn't something you want to put much effort into supporting, but these changes are pretty small, and they might help with other obscure environments as well.

Thank you!

@CrackedP0t CrackedP0t changed the title Small fxes to compile for 3DS homebrew Small fixes to compile for 3DS homebrew May 25, 2025
@SanderMertens
Copy link
Owner

The additional define for the execinfo makes sense! Is the change from int32_t to int necessary though? int32_t is used in many places, why is it causing issues for that specific location?

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

Successfully merging this pull request may close these issues.

2 participants