summaryrefslogtreecommitdiff
path: root/sys/arch/evbmips/include/endian_machdep.h
blob: 26ed96f21b9c4a36fa6807654386c8f88688e0bd (plain)
1
2
3
4
5
6
7
8
9
10
11
/*	$NetBSD: endian_machdep.h,v 1.1 2002/03/07 14:44:00 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>