aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/deadbeef/use-endian-h.patch
blob: a8829dcb84d85e46b1e68bd6721e168d5880b481 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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