mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-07 18:30:25 +02:00
Correct build and pass all tests on Solaris x86.
* include/lightning.h: Minor extra preprocessor testing to "detect" byte order on x86 solaris, that now builds and pass all test cases.
This commit is contained in:
parent
af92c5adfe
commit
dbe0fb9bfa
2 changed files with 8 additions and 0 deletions
|
@ -71,6 +71,8 @@
|
|||
# define __BYTE_ORDER __BIG_ENDIAN
|
||||
# elif defined(__BIG_ENDIAN__ ) /* ia64 hp-ux */
|
||||
# define __BYTE_ORDER __BIG_ENDIAN
|
||||
# elif defined(__i386__)
|
||||
# define __BYTE_ORDER __LITTLE_ENDIAN /* x86 solaris */
|
||||
# else
|
||||
# error cannot figure __BYTE_ORDER
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue