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.
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.