xref: /netbsd-src/sys/arch/sbmips/include/endian_machdep.h (revision 4b7a128684ac4ef7af2ef5c78cebd3d3c21332c0)
1*4b7a1286Ssimonb /*	$NetBSD: endian_machdep.h,v 1.1 2002/03/06 02:13:42 simonb Exp $	*/
2*4b7a1286Ssimonb 
3*4b7a1286Ssimonb #if defined(__MIPSEB__)
4*4b7a1286Ssimonb #define	_BYTE_ORDER	_BIG_ENDIAN
5*4b7a1286Ssimonb #elif defined(__MIPSEL__)
6*4b7a1286Ssimonb #define	_BYTE_ORDER	_LITTLE_ENDIAN
7*4b7a1286Ssimonb #else
8*4b7a1286Ssimonb #error neither __MIPSEL__ nor __MIPSEB__ are defined.
9*4b7a1286Ssimonb #endif
10*4b7a1286Ssimonb 
11*4b7a1286Ssimonb #include <mips/endian_machdep.h>
12