summaryrefslogtreecommitdiff
path: root/boost/boost.endian.patch
blob: 14505e0b3e5230983806baa8f6767312df5a08e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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)