mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
configure.in: if byte order is unknown or ill defined, don't define any
We can always operate correctly if neither WORDS_BIGENDIAN nor WORDS_LITTLEENDIAN are defined, so if the word order is either indeterminable or universal (the compiler generates both bigendian and litteendian output from the same sources) then define neither. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
b9c1ca7e8d
commit
ef63588eb4
@ -67,7 +67,7 @@ AC_C_CONST
|
||||
AC_C_INLINE
|
||||
AC_C_RESTRICT
|
||||
AC_TYPE_SIZE_T
|
||||
AC_C_BIGENDIAN(AC_DEFINE(WORDS_BIGENDIAN),AC_DEFINE(WORDS_LITTLEENDIAN))
|
||||
AC_C_BIGENDIAN(AC_DEFINE(WORDS_BIGENDIAN),AC_DEFINE(WORDS_LITTLEENDIAN),,)
|
||||
AH_TEMPLATE(WORDS_BIGENDIAN,
|
||||
[Define to 1 if your processor stores words with the most significant
|
||||
byte first (like Motorola and SPARC, unlike Intel and VAX).])
|
||||
|
Loading…
Reference in New Issue
Block a user