PERFORCE change 134533 for review
Warner Losh
imp at FreeBSD.org
Wed Jan 30 23:17:39 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134533
Change 134533 by imp at 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
More information about the p4-projects
mailing list