audio/alacenc: fix build on POWER / RISC-V
This commit is contained in:
parent
b41d2a1991
commit
f4e709b140
|
@ -0,0 +1,11 @@
|
|||
--- vendor/alac/codec/EndianPortable.c.orig 2022-09-22 17:41:40 UTC
|
||||
+++ vendor/alac/codec/EndianPortable.c
|
||||
@@ -37,6 +37,8 @@
|
||||
#define TARGET_RT_LITTLE_ENDIAN 1
|
||||
#elif defined(__aarch64__)
|
||||
#define TARGET_RT_LITTLE_ENDIAN 1
|
||||
+#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||
+#define TARGET_RT_LITTLE_ENDIAN 1
|
||||
#elif defined (TARGET_OS_WIN32)
|
||||
#define TARGET_RT_LITTLE_ENDIAN 1
|
||||
#endif
|
Loading…
Reference in New Issue