forked from amazingfate/loongoffice
Change-Id: Ib6aa36e296dfc1237463c4257f7ea1bd1fe72a1b Reviewed-on: https://gerrit.libreoffice.org/6282 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
14 lines
437 B
Diff
14 lines
437 B
Diff
--- foo/foo/foo/boost/detail/endian.hpp
|
|
+++ foo/foo/foo/boost/detail/endian.hpp
|
|
@@ -28,8 +28,8 @@
|
|
//
|
|
// Special cases come first:
|
|
//
|
|
-#if defined (__GLIBC__)
|
|
-// GNU libc offers the helpful header <endian.h> which defines
|
|
+#if defined (__GLIBC__) || defined(__ANDROID__)
|
|
+// GNU libc and Android's bionic offer the helpful header <endian.h> which defines
|
|
// __BYTE_ORDER
|
|
# include <endian.h>
|
|
# if (__BYTE_ORDER == __LITTLE_ENDIAN)
|