libsoundio
libsoundio copied to clipboard
Fix endianness detection on Windows ARM platforms
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.