mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-08 10:50:21 +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
|
@ -1,3 +1,9 @@
|
||||||
|
2013-06-18 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
|
* include/lightning.h: Minor extra preprocessor testing
|
||||||
|
to "detect" byte order on x86 solaris, that now builds
|
||||||
|
and pass all test cases.
|
||||||
|
|
||||||
2013-06-18 Paulo Andrade <pcpa@gnu.org>
|
2013-06-18 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
* lib/jit_sparc-cpu.c: Correct compiler warning of value
|
* lib/jit_sparc-cpu.c: Correct compiler warning of value
|
||||||
|
|
|
@ -71,6 +71,8 @@
|
||||||
# define __BYTE_ORDER __BIG_ENDIAN
|
# define __BYTE_ORDER __BIG_ENDIAN
|
||||||
# elif defined(__BIG_ENDIAN__ ) /* ia64 hp-ux */
|
# elif defined(__BIG_ENDIAN__ ) /* ia64 hp-ux */
|
||||||
# define __BYTE_ORDER __BIG_ENDIAN
|
# define __BYTE_ORDER __BIG_ENDIAN
|
||||||
|
# elif defined(__i386__)
|
||||||
|
# define __BYTE_ORDER __LITTLE_ENDIAN /* x86 solaris */
|
||||||
# else
|
# else
|
||||||
# error cannot figure __BYTE_ORDER
|
# error cannot figure __BYTE_ORDER
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue