3c185af5fd
big-endian. i386, pc532 and vax still include <machine/byte_swap.h> and define macros for the {n,h}to{h,n}*() functions. mips also defines some endian-independent assembly-code aliases for unaligned memory accesses.
10 lines
208 B
C
10 lines
208 B
C
/* $NetBSD: endian.h,v 1.7 1999/08/21 05:53:51 simonb Exp $ */
|
|
|
|
#ifndef _MACHINE_ENDIAN_H_
|
|
#define _MACHINE_ENDIAN_H_
|
|
|
|
#define _BYTE_ORDER _BIG_ENDIAN
|
|
#include <sys/endian.h>
|
|
|
|
#endif /* _MACHINE_ENDIAN_H_ */
|