Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Allow mips endian_machdep.h to see _LITTLE_ENDIAN an...



details:   https://anonhg.NetBSD.org/src/rev/03ca532b6520
branches:  trunk
changeset: 483759:03ca532b6520
user:      soren <soren%NetBSD.org@localhost>
date:      Fri Mar 17 11:47:43 2000 +0000

description:
Allow mips endian_machdep.h to see _LITTLE_ENDIAN and _BIG_ENDIAN.

diffstat:

 sys/sys/endian.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 183b5f76cc39 -r 03ca532b6520 sys/sys/endian.h
--- a/sys/sys/endian.h  Fri Mar 17 11:45:49 2000 +0000
+++ b/sys/sys/endian.h  Fri Mar 17 11:47:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: endian.h,v 1.2 2000/03/17 00:10:24 mycroft Exp $       */
+/*     $NetBSD: endian.h,v 1.3 2000/03/17 11:47:43 soren Exp $ */
 
 /*
  * Copyright (c) 1987, 1991, 1993
@@ -38,8 +38,6 @@
 #ifndef _SYS_ENDIAN_H_
 #define _SYS_ENDIAN_H_
 
-#include <machine/endian_machdep.h>
-
 /*
  * Definitions for byte order, according to byte significance from low
  * address to high.
@@ -48,6 +46,8 @@
 #define        _BIG_ENDIAN     4321    /* MSB first: 68000, ibm, net */
 #define        _PDP_ENDIAN     3412    /* LSB first in word, MSW first in long */
 
+#include <machine/endian_machdep.h>
+
 /*
  * Define the order of 32-bit words in 64-bit words.
  */



Home | Main Index | Thread Index | Old Index