musikcube: fix build on ppc*-musl

This commit is contained in:
q66 2020-01-02 17:59:45 +01:00
parent 966a221bc0
commit 60f73f030e
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Taken from libgme patches.
--- src/plugins/gmedecoder/gme/blargg_endian.h
+++ src/plugins/gmedecoder/gme/blargg_endian.h
@@ -36,7 +36,7 @@
#endif
#if defined (MSB_FIRST) || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \
- defined (__sparc__) || BLARGG_CPU_POWERPC || \
+ defined (__sparc__) || \
(defined (BIG_ENDIAN) && BIG_ENDIAN+0 != 4321)
#define BLARGG_BIG_ENDIAN 1
#elif !defined (__mips__)