Define HOST_BIG_ENDIAN_P according to <machine/endian.h>.
This commit is contained in:
parent
f1d56a7340
commit
7be23c26d4
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
/* Architecture independant NetBSD host support */
|
||||
|
||||
#include <machine/endian.h>
|
||||
#include <machine/vmparam.h>
|
||||
#include <machine/param.h>
|
||||
#include <machine/reg.h>
|
||||
|
@ -7,3 +8,7 @@
|
|||
#define HOST_PAGE_SIZE NBPG
|
||||
#define HOST_TEXT_START_ADDR USRTEXT
|
||||
#define HOST_STACK_END_ADDR USRSTACK
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
#define HOST_BIG_ENDIAN_P
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue