external/neon/configs/config.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit bbab833bd956e220db3548ddd0a00dfd30836de1
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Oct 28 10:07:00 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Oct 28 14:41:17 2021 +0200

    endian check in internal neon looks dubious
    
    Change-Id: Idebe6d07e37a28c005565f1e14826756be4e3a8f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124318
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/external/neon/configs/config.h b/external/neon/configs/config.h
index af8408ad9ad3..8f225a3296ad 100644
--- a/external/neon/configs/config.h
+++ b/external/neon/configs/config.h
@@ -1,5 +1,7 @@
 /* Contents kept in sync with config.h.in from neon 0.31.2 */
 
+#include <osl/endian.h>
+
 /* Define if building universal (internal helper macro) */
 /* #undef AC_APPLE_UNIVERSAL_BUILD */
 
@@ -521,7 +523,7 @@
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined(__sun) && defined(SPARC)
+#if defined OSL_BIGENDIAN
 #define WORDS_BIGENDIAN 1
 #endif
 

Reply via email to