Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/adosfs pullup 1.15->1.16 (kleink): incomplete check...



details:   https://anonhg.NetBSD.org/src/rev/0c1c760efb89
branches:  netbsd-1-4
changeset: 468815:0c1c760efb89
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 21 15:26:49 1999 +0000

description:
pullup 1.15->1.16 (kleink): incomplete check for the machine's endianness

diffstat:

 sys/adosfs/adosfs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 180e93f6ef63 -r 0c1c760efb89 sys/adosfs/adosfs.h
--- a/sys/adosfs/adosfs.h       Mon Jun 21 15:25:49 1999 +0000
+++ b/sys/adosfs/adosfs.h       Mon Jun 21 15:26:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adosfs.h,v 1.15 1998/09/01 03:33:26 thorpej Exp $      */
+/*     $NetBSD: adosfs.h,v 1.15.6.1 1999/06/21 15:26:49 perry Exp $    */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -149,7 +149,7 @@
 /*
  * utility protos
  */
-#ifndef m68k
+#if BYTE_ORDER != BIG_ENDIAN
 u_int32_t adoswordn __P((struct buf *, int));
 #else
 #define adoswordn(bp,wn) (*((u_int32_t *)(bp)->b_data + (wn)))



Home | Main Index | Thread Index | Old Index