Date: Thu, 31 Jan 2008 07:17:38 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 134533 for review Message-ID: <200801310717.m0V7HcgB078821@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134533 Change 134533 by imp@imp_lighthouse on 2008/01/31 07:16:56 __MIPSEB__ rather than _MIPSEB seems to be what is defined. Another needless LOCORE Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/include/endian.h#10 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/include/endian.h#10 (text+ko) ==== @@ -34,11 +34,9 @@ #define _MACHINE_ENDIAN_H_ #include <sys/cdefs.h> -#ifndef _LOCORE #ifndef __ASSEMBLER__ #include <sys/_types.h> #endif -#endif #ifdef __cplusplus extern "C" { @@ -52,11 +50,11 @@ #define _BIG_ENDIAN 4321 /* MSB first: 68000, ibm, net */ #define _PDP_ENDIAN 3412 /* LSB first in word, MSW first in long */ -#ifdef _MIPSEB +#ifdef __MIPSEB__ #define _BYTE_ORDER _BIG_ENDIAN #else #define _BYTE_ORDER _LITTLE_ENDIAN -#endif /* _MIBSEB */ +#endif /* __MIBSEB__ */ /* * Deprecated variants that don't have enough underscores to be useful in more
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801310717.m0V7HcgB078821>