From f904e2f149ee4fe2df8d2287eec4eaba45dfae1c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 12 Dec 2020 16:28:33 -0600 Subject: [PATCH] Fix endianness detection on Windows ARM platforms --- soundio/endian.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/soundio/endian.h b/soundio/endian.h index f69072f..55dc9c1 100644 --- a/soundio/endian.h +++ b/soundio/endian.h @@ -90,6 +90,10 @@ #define SOUNDIO_OS_LITTLE_ENDIAN #elif defined(__bfin__) #define SOUNDIO_OS_LITTLE_ENDIAN +#elif defined(_M_ARM) +#define SOUNDIO_OS_LITTLE_ENDIAN +#elif defined(_M_ARM64) +#define SOUNDIO_OS_LITTLE_ENDIAN #else #error unable to detect endianness #endif