Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/sh3/include Pullup revision 1.4 (approved by t...



details:   https://anonhg.NetBSD.org/src/rev/46b8ce571757
branches:  netbsd-1-5
changeset: 488972:46b8ce571757
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Aug 08 18:29:15 2000 +0000

description:
Pullup revision 1.4 (approved by thorpej):

 check _BYTE_ORDER instead of BYTE_ORDER to fix namespace pollution
 (it's necessary to compile src/usr.bin/xlint/llib)

diffstat:

 sys/arch/sh3/include/coff_machdep.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 9755175653ab -r 46b8ce571757 sys/arch/sh3/include/coff_machdep.h
--- a/sys/arch/sh3/include/coff_machdep.h       Tue Aug 08 18:26:40 2000 +0000
+++ b/sys/arch/sh3/include/coff_machdep.h       Tue Aug 08 18:29:15 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: coff_machdep.h,v 1.3 2000/06/04 16:24:01 mycroft Exp $ */
+/*     $NetBSD: coff_machdep.h,v 1.3.2.1 2000/08/08 18:29:15 msaitoh Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Scott Bartram
@@ -51,14 +51,14 @@
 #define COFF_SEGMENT_ALIGNMENT(fp, ap) \
     (((fp)->f_flags & COFF_F_EXEC) == 0 ? 4 : 16)
 
-#ifndef BYTE_ORDER
-#error Define BYTE_ORDER!
+#ifndef _BYTE_ORDER
+#error Define _BYTE_ORDER!
 #endif
 
-#if BYTE_ORDER == BIG_ENDIAN
+#if _BYTE_ORDER == BIG_ENDIAN
 #define COFF_BADMAG(ex) ((ex)->f_magic != COFF_MAGIC_SH3_BIG)
 #endif
-#if BYTE_ORDER == LITTLE_ENDIAN
+#if _BYTE_ORDER == LITTLE_ENDIAN
 #define COFF_BADMAG(ex) ((ex)->f_magic != COFF_MAGIC_SH3_LITTLE)
 #endif
 



Home | Main Index | Thread Index | Old Index