blob: 9a37f0be7e13cf102860705e0b2c0fa2e35f4709 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$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
|