kodi-addon-inputstream-adaptive: define ppc macros to fix build

This commit is contained in:
q66 2019-02-24 19:12:08 +01:00 committed by maxice8
parent 18a6a9bcf8
commit d52f934ef4

View file

@ -0,0 +1,23 @@
--- wvdecrypter/cdm/build/build_config.h
+++ wvdecrypter/cdm/build/build_config.h
@@ -123,6 +123,20 @@
#define ARCH_CPU_ARM64 1
#define ARCH_CPU_64_BITS 1
#define ARCH_CPU_LITTLE_ENDIAN 1
+#elif defined(__powerpc64__)
+#define ARCH_CPU_PPC_FAMILY 1
+#define ARCH_CPU_PPC64 1
+#define ARCH_CPU_64_BITS 1
+#ifdef __LITTLE_ENDIAN__
+#define ARCH_CPU_LITTLE_ENDIAN 1
+#else
+#define ARCH_CPU_BIG_ENDIAN 1
+#endif
+#elif defined(__powerpc__)
+#define ARCH_CPU_PPC_FAMILY 1
+#define ARCH_CPU_PPC 1
+#define ARCH_CPU_32_BITS 1
+#define ARCH_CPU_BIG_ENDIAN 1
#elif defined(__pnacl__)
#define ARCH_CPU_32_BITS 1
#define ARCH_CPU_LITTLE_ENDIAN 1