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

Fix endianness detection on Windows ARM platforms #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cgutman
Copy link
Contributor

@cgutman cgutman commented Dec 12, 2020

Building libsoundio for ARM64 on Windows fails because there is no handling of Windows ARM platforms in endian.h. This PR simply adds the appropriate handling. With this small patch, libsoundio builds and works perfectly on ARM64.

Note: Even though ARM is bi-endian, Windows on ARM is always little-endian.

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.

1 participant