summaryrefslogtreecommitdiff
path: root/sys/arch/sbmips/include/endian_machdep.h
blob: d3abc3a44c55b3fcc3e84ef948d845f75d900f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*	$NetBSD: endian_machdep.h,v 1.1 2002/03/06 02:13:42 simonb Exp $	*/

#if defined(__MIPSEB__)
#define	_BYTE_ORDER	_BIG_ENDIAN
#elif defined(__MIPSEL__)
#define	_BYTE_ORDER	_LITTLE_ENDIAN
#else
#error neither __MIPSEL__ nor __MIPSEB__ are defined.
#endif

#include <mips/endian_machdep.h>