NetBSD/sys/arch/sbmips/include/endian_machdep.h

12 lines
290 B
C

/* $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>