1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-06 09:17:25 +00:00

Configure for for big endian if TARGET_BYTES_BIG_ENDIAN is defined.

This commit is contained in:
David E. O'Brien 2006-09-12 06:39:27 +00:00
parent b2eeeae049
commit fc2717a0d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162240

View File

@ -7,7 +7,7 @@
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
#ifdef __sparc64__
#if defined(__sparc64__) || defined(__ARMEB__) || defined(TARGET_BIG_ENDIAN)
#define BYTEORDER 4321
#else
#define BYTEORDER 1234
@ -325,7 +325,7 @@
/* Define if the host machine stores words of multi-word integers in
big-endian order. */
#ifdef __sparc64__
#if defined(__sparc64__) || defined(__ARMEB__) || defined(TARGET_BIG_ENDIAN)
#define HOST_WORDS_BIG_ENDIAN 1
#endif