summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-28 10:07:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-28 14:41:17 +0200
commitbbab833bd956e220db3548ddd0a00dfd30836de1 (patch)
tree658b4b3ad173c140c9e529d83efd9df15da5e279 /external
parent601d0577245e5d85211da96736609a48146c847e (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'external')
-rw-r--r--external/neon/configs/config.h4
1 files changed, 3 insertions, 1 deletions
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