Fix endianness detection on Windows ARM platforms

This commit is contained in:
Cameron Gutman 2020-12-12 16:28:33 -06:00 committed by Mary
parent 67598f63fc
commit f904e2f149

View file

@ -90,6 +90,10 @@
#define SOUNDIO_OS_LITTLE_ENDIAN #define SOUNDIO_OS_LITTLE_ENDIAN
#elif defined(__bfin__) #elif defined(__bfin__)
#define SOUNDIO_OS_LITTLE_ENDIAN #define SOUNDIO_OS_LITTLE_ENDIAN
#elif defined(_M_ARM)
#define SOUNDIO_OS_LITTLE_ENDIAN
#elif defined(_M_ARM64)
#define SOUNDIO_OS_LITTLE_ENDIAN
#else #else
#error unable to detect endianness #error unable to detect endianness
#endif #endif