Drop patches merged upstream
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
Vasyl Gello
1 year, 3 months ago
0 | Description: fix endian detection to be portable to all gcc archs | |
1 | Author: Steve Langasek <steve.langasek@ubuntu.com> | |
2 | Last-Update: 2022-08-26 | |
3 | Forwarded: no | |
4 | ||
5 | Index: kodi-inputstream-adaptive-20.2.0+ds1/bento4-embedded/Source/C++/Core/Ap4Config.h | |
6 | =================================================================== | |
7 | --- kodi-inputstream-adaptive-20.2.0+ds1.orig/bento4-embedded/Source/C++/Core/Ap4Config.h | |
8 | +++ kodi-inputstream-adaptive-20.2.0+ds1/bento4-embedded/Source/C++/Core/Ap4Config.h | |
9 | @@ -56,7 +56,7 @@ | |
10 | #if defined(_M_IX86) || defined(_M_X64) || defined(_M_ARM) || defined(_M_ARM64) | |
11 | #define AP4_PLATFORM_BYTE_ORDER AP4_PLATFORM_BYTE_ORDER_LITTLE_ENDIAN | |
12 | #endif | |
13 | -#elif defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__arm64__) || defined(__aarch64__) | |
14 | +#elif defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__arm64__) || defined(__aarch64__) || (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) | |
15 | #define AP4_PLATFORM_BYTE_ORDER AP4_PLATFORM_BYTE_ORDER_LITTLE_ENDIAN | |
16 | #endif | |
17 | #endif |