pkgsrc/multimedia/mpeg_play/patches/patch-ab
2004-02-24 21:49:22 +00:00

20 lines
552 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2004/02/24 21:49:23 jmmv Exp $
--- video.h.orig Tue Oct 6 22:06:33 1998
+++ video.h Tue Oct 6 22:06:40 1998
@@ -388,6 +388,15 @@
extern unsigned int cacheMiss[8][8];
#endif
+#ifdef __NetBSD__
+#include <machine/endian.h>
+#if BYTE_ORDER == LITTLE_ENDIAN
+#define LITTLE_ENDIAN_ARCHITECTURE 1
+#else
+#define BIG_ENDIAN_ARCHITECTURE 1
+#endif
+#endif
+
#if !defined(__MIPSEL__) && (defined(MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) || defined(__mipsel) || defined(__mipsel__))
#define __MIPSEL__ 1
#endif