2013-05-24 14:57:20 +03:00
|
|
|
--- foo/foo/foo/boost/detail/endian.hpp
|
|
|
|
+++ foo/foo/foo/boost/detail/endian.hpp
|
2013-08-22 11:56:21 +03:00
|
|
|
@@ -28,8 +28,8 @@
|
|
|
|
//
|
|
|
|
// Special cases come first:
|
|
|
|
//
|
|
|
|
-#if defined (__GLIBC__)
|
2013-05-24 14:57:20 +03:00
|
|
|
-// GNU libc offers the helpful header <endian.h> which defines
|
2013-08-22 11:56:21 +03:00
|
|
|
+#if defined (__GLIBC__) || defined(__ANDROID__)
|
2013-05-24 14:57:20 +03:00
|
|
|
+// GNU libc and Android's bionic offer the helpful header <endian.h> which defines
|
|
|
|
// __BYTE_ORDER
|
|
|
|
# include <endian.h>
|
|
|
|
# if (__BYTE_ORDER == __LITTLE_ENDIAN)
|