office-gobmx/boost/boost.endian.patch
Tor Lillqvist 4910c54a39 Update the bundled boost to 1.54
Change-Id: I5704ab1beaae1d28c2ae8d643343185e8aa6a749
Reviewed-on: https://gerrit.libreoffice.org/5582
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-23 06:21:54 +00:00

13 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)