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

Fixes #30. Added toolchain automatic platform detection #31

Merged
merged 2 commits into from
Dec 14, 2016

Conversation

mevatron
Copy link
Contributor

This should fix issues with detecting the endian helpers.

Copy link
Collaborator

@abellgithub abellgithub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code gets built on non-emscripten platforms as well, so rather than replace the current checks, it seems better to add them (perhaps EMSCRIPTEN_WINDOWS, EMSCRIPTEN_BSD, etc.) That or you could define the normal system variable that maps to the compiler, though I'm not sure what issues that brings up or why the emscripten compiler doesn't provide them.

@mevatron
Copy link
Contributor Author

mevatron commented Dec 14, 2016

Yeah I tried adding the system defines; however, they were causing other breaks in emscripten. So, I think I'll need to add EMSCRIPTEN_* defines for this to work correctly sounds like.

@abellgithub abellgithub merged commit 0ac1e5b into hobuinc:master Dec 14, 2016
@abellgithub
Copy link
Collaborator

Thanks!

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