mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
11 lines
567 B
Diff
11 lines
567 B
Diff
--- a/plugins/gme/game-music-emu-0.6pre/gme/blargg_endian.h
|
|
+++ b/plugins/gme/game-music-emu-0.6pre/gme/blargg_endian.h
|
|
@@ -21,7 +21,7 @@
|
|
// BLARGG_BIG_ENDIAN, BLARGG_LITTLE_ENDIAN: Determined automatically, otherwise only
|
|
// one may be #defined to 1. Only needed if something actually depends on byte order.
|
|
#if !defined (BLARGG_BIG_ENDIAN) && !defined (BLARGG_LITTLE_ENDIAN)
|
|
-#if defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && defined(__BIG_ENDIAN)
|
|
+#ifdef __linux__
|
|
// GCC handles this for us
|
|
#include <endian.h>
|
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|