guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 222/437: Correct build and pass all tests on Solaris x86


From: Andy Wingo
Subject: [Guile-commits] 222/437: Correct build and pass all tests on Solaris x86.
Date: Mon, 2 Jul 2018 05:14:25 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit dbe0fb9bfa469459d6943ffe5583574f0ca5d98b
Author: pcpa <address@hidden>
Date:   Tue Jun 18 23:22:07 2013 -0300

    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.
---
 ChangeLog           | 6 ++++++
 include/lightning.h | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index e357774..15157f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2013-06-18 Paulo Andrade <address@hidden>
 
+       * 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 <address@hidden>
+
        * lib/jit_sparc-cpu.c: Correct compiler warning of value
        used before assignment. The usage is bogus as the api
        requires always patching jumps, but the random value used
diff --git a/include/lightning.h b/include/lightning.h
index 626f9f6..e097a4e 100644
--- a/include/lightning.h
+++ b/include/lightning.h
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]