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

12 lines
290 B
C

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