c52c1d358d
(actually, tested with amd64-usb-eos300d)
21 lines
669 B
Text
21 lines
669 B
Text
$NetBSD: patch-ac,v 1.2 2004/02/25 20:29:50 drochner Exp $
|
|
|
|
--- bytesex.h.orig 2001-03-13 14:46:18.000000000 +0100
|
|
+++ bytesex.h 2004-02-25 21:18:34.000000000 +0100
|
|
@@ -3,7 +3,7 @@
|
|
#ifndef S10SH_BYTESEX_H
|
|
#define S10SH_BYTESEX_H
|
|
|
|
-#if defined(__i386__) \
|
|
+#if defined(__i386__) || defined(__amd64__) \
|
|
|| defined(__alpha__) \
|
|
|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
|
|
#define BYTE_ORDER_LITTLE_ENDIAN
|
|
@@ -11,6 +11,7 @@
|
|
|| defined (__sparc__) \
|
|
|| defined (__sparc) \
|
|
|| defined (__PPC__) \
|
|
+ || defined (__powerpc__) \
|
|
|| (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
|
|
#define BYTE_ORDER_BIG_ENDIAN
|
|
#else
|