zig/lib/libc/include/generic-netbsd/evbmips/endian_machdep.h
Alex Rønne Petersen 553cb3ed46
libc: Add NetBSD system and libc headers from 10.1.
sys/param.h was manually adjusted to not define __NetBSD_Version__ since it will
be defined by the compiler.
2025-05-17 04:41:27 +02:00

11 lines
No EOL
289 B
C
Vendored

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