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/8334e0520461
branches:  netbsd-1-5
changeset: 488974:8334e0520461
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Aug 08 18:34:22 2000 +0000

description:
Pullup revision 1.4 (approved by thorpej):

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

diffstat:

 sys/arch/sh3/include/va-sh.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r d9868124b397 -r 8334e0520461 sys/arch/sh3/include/va-sh.h
--- a/sys/arch/sh3/include/va-sh.h      Tue Aug 08 18:30:46 2000 +0000
+++ b/sys/arch/sh3/include/va-sh.h      Tue Aug 08 18:34:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: va-sh.h,v 1.3 2000/02/24 17:19:57 msaitoh Exp $ */
+/* $NetBSD: va-sh.h,v 1.3.4.1 2000/08/08 18:34:22 msaitoh Exp $ */
 
 /* This is just like the default gvarargs.h
    except for differences described below.  */
@@ -117,11 +117,11 @@
 #endif
 #define va_end(pvar)   ((void)0)
 
-#ifndef BYTE_ORDER
-#error Define BYTE_ORDER!
+#ifndef _BYTE_ORDER
+#error Define _BYTE_ORDER!
 #endif
 
-#if BYTE_ORDER == LITTLE_ENDIAN
+#if _BYTE_ORDER == LITTLE_ENDIAN
 #define __LITTLE_ENDIAN_P 1
 #else
 #define __LITTLE_ENDIAN_P 0



Home | Main Index | Thread Index | Old Index